'textDecorationUnderline' Example : textDecorationUnderline « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'textDecorationUnderline' Example

    
<html>
<body>
<p id="myT">Text sample.</p>

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

</body>
</html>

    
      
      








Related examples in the same category

1.'textDecorationUnderline' Syntax and Note
2.'textDecorationUnderline' Possible Values
3.'textDecorationUnderline' is applied to