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>
<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