<bdo> text direction
The <bdo> specifies an explicit text direction, overriding the default. The dir attribute from <bdo> element set the direction. dir has two value:
- rtl for right-to-left layout
- ltr for left-to-right layout
<!DOCTYPE HTML>
<html>
<head>
<title>Example</title>
</head>
<body>
This is left-to-right: <bdo dir="ltr">HTML is good</bdo>.
This is right-to-left: <bdo dir="rtl">HTML is good</bdo>.
</body>
</html>