HTML <bdo> dir Attribuut
Voorbeeld
Specificeer de tekstrichting:
<p>Hello world. <bdo dir="rtl">Hello world</bdo></p>
Definitie en gebruik
Het vereiste dir
attribuut specificeert de tekstrichting van de tekst binnen een
<bdo>
element.
Browserondersteuning
Attribute | |||||
---|---|---|---|---|---|
dir | Yes | Yes | Yes | Yes | Yes |
Syntaxis
<bdo dir="ltr|rtl">
Attribuutwaarden
Value | Description |
---|---|
ltr | Left-to-right text direction |
rtl | Right-to-left text direction |
❮ HTML <bdo>-tag