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.)
Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.