HTML title Global Attribute

Description

The global attribute title indicates an additional textual hint about the contents when you hover over an element (tooltip). Most often, an attribute is used in conjunction with images, links, and text.

Syntax

<element title="text">

Values

  • textA textual hint about the contents of the element (appears when you hover over the element).

Example

<p>The three primary web development technologies are
<abbr title="Hypertext Markup Language">HTML</abbr>,
<abbr title="Cascading Stylesheets">CSS</abbr>, and
JavaScript.</p>

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
YesYesYesYesYesYes
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
YesYesYesYesYesYes