Thursday, December 27, 2018

Formatting text direction.

Text direction with the <bdo> element:-


<html>
<body>

<p>If your browser supports bi-directional override (bdo), the next line will be written from right to left (rtl):</p>

<bdo dir="rtl">This line will be written from right to left</bdo>

</body>
</html>

OUTPUT:-  

  • If your browser supports bi-directional override (bdo), the next line will be written from right to left (rtl).
  • The HTML <bdo> element defines bi-directional override.
  • The <bdo> element is used to override the current text direction.

No comments:

Post a Comment

Internal Javascripts

Internal Javascripts :    The script code can be written directly into the HTML document. script code is placed in header of the docume...