The title attribute defines a description for an element.
This attribute can be used in most elements.
<p title="This text is displayed in the tool tip"> - </p>
| Attribute | Value | Explanation |
|---|---|---|
| title=" " | tool-tip text | short description |
The tool tip example
<a href="index.html" title="The list of Common Attributes">Attributes</a>

The description is displayed in the tool tip when the user moves the mouse over the element.
<p>Today I have visited to the <strong title="http://www.tagindex.net/">TAG index</strong>.</p> <p><a href="../../index.html" title="Go to Top Page">TAG index</a></p> <p><img src="banner.gif" alt="TAG index" title="HTML and CSS Quick Reference"></p> <form method="POST" action="example.cgi"> <input type="text" name="name" title="Please input your name"> <input type="submit" value="Submit" title="This form cannot be submitted"> </form>