Add dotted bottom line to abbr and acronym : abbr : Text Tags HTML CSS TUTORIALS


HTML CSS TUTORIALS » Text Tags » abbr »

 

Add dotted bottom line to abbr and acronym


 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>&lt;strong&gt;, &lt;em&gt; and Other Phrase Elements</title>
  <style type="text/css" media="screen">
  
  body {
    font-family: verdana, sans-serif;
    font-size: 12px;
    }
  
  div {
    margin-bottom: 30px;
    }  
  
  
  #divID abbr, acronym {
    border-bottom: 1px dotted;
    cursor: help;
    }
  
  </style>
</head>
<body>

<div id="divID">
<abbr title="eXtensible Hypertext Markup Language">XHTML</abbr> 1.0 is a reformulation of HTML 4.01 in XML, and combines the strength of HTML
with the power of XML.
</div>

</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Text Tags
» abbr