Multiple choice technology web technology

What is the title attribute used for?

  1. To define title of the HTML document

  2. To instruct browser where to find stylesheets, metadata etc

  3. To show additional information about an element as a tooltip text when the mouse moves over it

  4. None of the above

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

The title attribute provides additional information about an HTML element that appears as a tooltip when users hover their mouse over it. It's not used for defining the document title (that's ) or for linking stylesheets (that's ). This is a fundamental HTML attribute for improving user experience with contextual hints.