'text-decoration' Example : text decoration : CSS Attributes and Javascript Style Properties HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » text decoration »

 

'text-decoration' Example



    
<html>
<body>
<a href="http://www.navioo.com" 
   style="text-decoration: none">
www.navioo.com, www.navioo.com ,w w w.j a v a s . c o m
</a>
<hr>
<p id="myT">Text sample.</p>

<input type="button" 
       value="decoration:lineThrough" 
       onclick="myT.style.textDecoration = 'line-through'">

<input type="button" 
       value="decoration:overline" 
       onclick="myT.style.textDecoration = 'overline'">

<input type="button" 
       value="decoration:underline" 
       onclick="myT.style.textDecoration = 'underline'">
</body>
</html>

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Attributes and Javascript Style Properties
» text decoration