VOOZH about

URL: https://www.geeksforgeeks.org/html/html-title-attribute/

⇱ HTML title Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML title Attribute

Last Updated : 20 May, 2026

The HTML title attribute provides additional information about an element, typically displayed as a tooltip when the user hovers over it.

  • Can be used with most HTML elements.
  • Displays extra information as a tooltip on hover.
  • Improves user understanding of content or actions.

Syntax:

<element title = "text">

The title attribute specifies extra information about an element, usually shown as a tooltip on hover.

Comment