HTML and CSS Reference
<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.
Flow content, phrasing content, palpable content
Where phrasing content is expected
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.