Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML title Attribute

HTML title Attribute

HTML Global Attributes HTML Global Attributes

Example

Using the title attribute in an HTML document:

WHO Founded in 1948.

Runoob Tutorial

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the title attribute


Definition and Usage

The title attribute specifies extra information about an element.

This information is usually displayed as a tooltip text when the mouse moves over the element.


Differences between HTML 4.01 and HTML5

In HTML5, the title attribute can be used on any HTML element (it will validate any HTML element, but it may not be useful).

In HTML 4.01, the title attribute cannot be used on: , , , , ,