Multiple choice general knowledge

… tag can be placed within ________

  1. Header

  2. Body

  3. both A and B

  4. none of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The tag can be placed in both the <HEAD> (Header) and <BODY> sections of an HTML document. Modern JavaScript is often placed at the end of the BODY for performance reasons, but placing scripts in the HEAD with the defer or async attributes is also common. Both locations are valid and serve different purposes.