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>
|
Copyright © 2010 O’Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from "HTML & XHTML ─ kurz & gut" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de