Examveda
Examveda

The script tag must be placed in

A. head

B. head and body

C. title and head

D. all of the mentioned

Answer: Option B

Solution(By Examveda Team)

If the script tag is placed after the body tag, then, it will not be evaluated at all. Also, it is always recommended and effective to use the script snippet in the <head> tag.

This Question Belongs to Javascript >> Basic And Variables

Join The Discussion

Related Questions on Basic and Variables