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


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

 

'textDecorationNone' Example



    
<html>
<body>
<p id="myT">Text sample.</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
» textDecorationNone