HTML and CSS Reference
In-Depth Information
Name
bdi
Synopsis
<bdi> . . . </bdi>
Stands for “bidirectional isolation” and is used to indicate a selection of text that might read
in a different direction from the surrounding text. It may be useful for names and comments
added by users or text embedded from an outside source.
Usage
Categories:
Flow content, phrasing content, palpable content
Permitted contexts:
Where phrasing content is expected
Permitted content:
Phrasing content
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
dir = "ltr|rtl|auto"
Specifies the direction of the text: ltr (left to right), rtl (right to left), or auto (determin-
ed by the user agent). In the bdi element, if the dir attribute is omitted, it defaults to auto
and does not inherit from the parent.
Search WWH ::




Custom Search