Multiple choice

For which of the following do we use <Base> tag?

  1. <FORM> and <BODY>

  2. <BODY> and <HEAD>

  3. <TITLE> and <BODY>

  4. Only <HEAD>

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

The base tag specifies the base URL for all relative URLs in a document. It must be placed in the head section because it affects URL resolution throughout the entire document and must be established before any relative URLs are encountered in the body.