'writing-mode' Example : writing mode « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'writing-mode' Example

    
<html>
<body>
<div id="myD" 
     style="width:100%; background-color:beige;">
This is sample text.
</div>
<br>
<input type="button" 
       value="Set writing Mode property to tb-rl" 
       onclick="myD.style.writingMode='tb-rl'">
<input type="button" 
       value="Set writingMode property to lr-tb"
       onclick="myD.style.writingMode='lr-tb'">
</body>
</html>

    
      
      








Related examples in the same category

1.'writing-mode' Syntax and Note
2.'writing-mode' Possible Values
3.'writing-mode' is applied to