Latest web development tutorials
 

HTML title Attribute


Definition and Usage

The title attribute specifies extra information about an element.

The information is most often shown as a tooltip text when the mouse moves over the element.


Applies to

The title attribute is part of the Global Attributes, and can be used on any HTML element.

Element Attribute
All HTML elements title

Example

Use of the title attribute in an HTML document:

<p><abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>
<p title="Free Web tutorials">w3ii.com</p>
Try it Yourself »

Browser Support

Attribute
title Yes Yes Yes Yes Yes