'direction' Example
<html> <body> <input type="button" onclick="myDiv.style.direction=event.srcElement.value;" value="rtl"> <input type="button" onclick="myDiv.style.direction=event.srcElement.value;" value="ltr"> <div id=myDiv style="background:aqua; padding:10px;" class="explanations"> Level is Level. </div> </body> </html>