<bdo>: The HTML Bidirectional Text Override Element

1 Description

The HTML <bdo> element is used to manually control which direction (right-to-left, or left-to-right) the enclosed text is rendered.

See Also

The <bdi> element.

2 Examples

<!DOCTYPE html>
<html>
    <head>
        <title>Example Page</title>
    </head>
    <body>
        <h1>Example of Manual Text Direction Control</h1>
        <p>The name 'Pepsi' spelled backwards is <bdo dir="rtl">Pepsi</bdo>.</p>
    </body>
</html>

This document was last updated: