HTML/CSS/CSS Attributes and Javascript Style Properties/textDecorationOverline

Материал из Web эксперт
Перейти к: навигация, поиск

"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>