The title attribute is used to specify extra information about the element. When the mouse moves over the element then it shows the information.
<element title = "text">
Attribute Value: This attribute contains single value text which is used as the tooltip text for an element. This title is associated with all HTML elements.
Before hovering the mouse:
After hovering the mouse:
Supported Browsers: The browser supported by title attribute are listed below:
- Internet Explorer