HTML Formatting text direction with bdo element Code For Website - Learn About Website | DaddyFile

0

HTML <bdo> for Bi-Directional Override Explain

The HTML <bdo> element defines bi-directional override.
The <bdo> element is used to override the current text direction.



Html Code:

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



Html Code Result:

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

Post a Comment

 
Top