'writing-mode' Example
<html> <body> <div id="myD" style="width:100%; background-color:beige;"> This is sample text. txet elpmas si sihT. </div> <br> <input type="button" value="Set writingMode 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>