title Attribute

Description

The title attribute provides information about an element. It is commonly used by the browser to display tool tip information.

Example


<!DOCTYPE HTML>
<html>
<body>
    <a title="learn HTML and CSS" href="http://java2s.com">Visit  the  site</a>
</body><!-- w  w w . ja va 2 s. c  om-->
</html>

Click to view the demo





















Home »
  HTML CSS »
    HTML »




HTML Introduction
HTML Document
HTML Section
HTML Group Content
HTML Text Marker
HTML Table
HTML Form
HTML Embed