How to use Title Attribute in HTML5

In this article I am going to explain about title attribute in Html5.
  • 2231

Title Attribute in HTML5

The title attribute use for show message about any element in HTML document. Message will be show on mouse hover. In HTML5 title attribute can be use on any element.

Browser that supports style Attribute.

Internet explorer, Mozilla firefox, Google chrome, opera and Safari browsers.

Syntax

<ElementName title="Any message">

Example

<html>

<body>

    <a href="#" title="Hello india">India</a>

</body>

</html> 

Output

titleatter.jpg

Further Readings

You may also want to read these related articles: here
Ask Your Question 
 
Got a programming related question? You may want to post your question here
 
© 2020 DotNetHeaven. All rights reserved.