Name
bdo
Synopsis
<bdo>...</bdo>
Stands for “bi-directional override” and is used to indicate a
selection of text that reads in the opposite direction than the
surrounding text. For instance, in a left-to-right reading document,
the bdo element may be used to
indicate a selection of Hebrew text that reads right-to-left (rtl).
Attributes
- Core(
id,class,style,title) - Events (XHTML only)
-
dir="ltr|rtl" Required. Indicates whether the selection should read left to right (
ltr) or right to left (rtl).-
lang="language code" This attribute specifies the language of the element using a language code abbreviation. (See Chapter 6 for a list of language codes.)
-
xml:lang="text" XHTML only. This is the method for specifying languages in XML documents using a language code abbreviation. (See Chapter 6 for a list of language codes.)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access