'textDecorationUnderline' Example : textDecorationUnderline : CSS Attributes and Javascript Style Properties HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » textDecorationUnderline »

 

'textDecorationUnderline' Example



    
<html>
<body>
<p id="myT">www.navioo.com</p>
<input type="button" 
       value="decoration:lineThrough" 
       onclick="myT.style.textDecorationLineThrough='true'">
       
<input type="button" 
       value="decoration:overline" 
       onclick="myT.style.textDecorationOverline='true'">

<input type="button" 
       value="decoration:underline" 
       onclick="myT.style.textDecorationUnderline='true'">

<input type="button" 
       value="decoration:none" 
       onclick="myT.style.textDecorationNone='true'">
</body>
</html>

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Attributes and Javascript Style Properties
» textDecorationUnderline