'dir' Example : Text Direction « HTML « JavaScript DHTML






'dir' Example

    
<html>
<body>
<script language="JavaScript">
function function1() {
    document.all.myP.dir = "rtl";
}
</script>
<p id="myP" onload="function1();">ARABIC OR HEBREW IN TEXT THIS</p>
</body>
</html>

    
      
      








Related examples in the same category