HTML <bdo> dir-Attribut

❮ HTML <bdo>-Tag

Beispiel

Geben Sie die Textrichtung an:

<p>Hello world. <bdo dir="rtl">Hello world</bdo></p>

Definition und Verwendung

Das erforderliche dirAttribut gibt die Textrichtung des Textes innerhalb eines <bdo>Elements an.


Browser-Unterstützung

Attribute
dir Yes Yes Yes Yes Yes

Syntax

<bdo dir="ltr|rtl">

Attributwerte

Value Description
ltr Left-to-right text direction
rtl Right-to-left text direction

❮ HTML <bdo>-Tag