/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: title

[this page | pdf | back links]

The HTML title attribute specifies extra information about an element. Often, if you move the mouse over an element with its title set then the title typically appears as tooltip text next to the element.

 

In HTML 5 this attribute can be applied to any element.

 

Valid attribute values include:

 

Value

Description

text

Tooltip text relating to element

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile