'textDecorationOverline ' Example : textDecorationOverline « CSS « HTML / CSS






'textDecorationOverline ' 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>

    
      
      








Related examples in the same category