XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / bdo

(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

   

HTML 4.01 | HTML 5

bdo

<bdo> ... </bdo>

Stands for bidirectional override. The element bdo indicates that a span of text is read in the opposite direction to the surrounding text. For example, the element bdo can mark a Hebrew or Arabic passage read from right to left (rtl) within text read from left to right.

Start/end tag

Required/required

Attributes

Core, events (XHTML only), global HTML 5 attributes

  • dir="ltr|rtl"

    Required. Specifies whether the marked text is read from left to right (ltr) or from right to left (rtl).

  • lang="Sprachcode"

    Specifies the language of the section using an abbreviated language code.

  • xml:lang="Sprachcode"

    XHTML only. In XML documents, specifies the section’s language using an abbreviated language code.

Example

<bdo dir="ltr">Deutscher Text in ansonsten arabischem Text.</bdo>

 

> back to the alphabetical list of elements

   

 

 

 

back to top