<!DOCTYPE html>
<html lang="en-US">
<body>
<h1>CSS unicode-bidi Property</h1>
<p style="direction: rtl;">This is a paragraph.</p>
<button onclick="myFunction()">Click Me</button>
<script>
var x = document.getElementsByTagName("p")[0];
function myFunction(){
x.style.unicodeBidi = "bidi-override";
}
</script>
<p><strong>Note</strong>: click on the button to change the 'unicode-bidi' from normal to bidi-override.</p> </body>
</html>