title - HTML CSS HTML Global Attribute

HTML CSS examples for HTML Global Attribute:title

Introduction

The title attribute adds additional information for an element, which is used by the browser to display tool tip information.

The following code shows how the title attribute is used.

Demo Code

ResultView the demo in separate window

<!DOCTYPE HTML>  
<html>  
   <head>      
       <title>Example</title>  
   </head>  
   <body>  
       <a title="Apress Publishing" href="http://java2s.com">Visit the Apress site</a>  
   </body>  
</html>  <!--   w  w  w . j  a  v  a 2 s  .  c o m-->

Related Tutorials