Version-//W3C//DTD HTML 4.01//EN
ElementBDO
Purposeturn off the bidirectional algorithm for the enclosed text
DescriptionThe BDO element allows authors to turn off the bidirectional algorithm for the enclosed text. This element is part of the internationalization efforts of HTML4 and is used to resolve problems that might occur when displaying human languages. Human languages require a certain character order (left-to-right or right-to-left). This ordering can be set on a global scale in a document or Web browser, but there may be local text fragments that must be displayed in a different order. For example, in the English language (read left-to-right), you might quote a document in a language that is intended to be read from right-to-left.
Start tagRequired <BDO>
Attributes
NameTypeDefaultComment
class CDATA #IMPLIEDspace-separated list of classes
dir( ltr | rtl )#REQUIREDdirectionality
idID#IMPLIEDdocument-wide unique id
lang NAME #IMPLIEDlanguage code as RFC1766; language code
style CDATA #IMPLIEDstyle sheet data; associated style info
title CDATA #IMPLIEDtext; advisory title; id, class, style, title
Content( #PCDATA | TT | I | B | BIG | SMALL | EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | ABBR | ACRONYM | A | IMG | OBJECT | BR | SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO | INPUT | SELECT | TEXTAREA | LABEL | BUTTON )*
End tagRequired </BDO>
Referenced in A ABBR ACRONYM ADDRESS B BDO BIG BUTTON CAPTION CITE CODE DD DEL DFN DIV DT EM FIELDSET H1 H2 H3 H4 H5 H6 I INS KBD LABEL LEGEND LI OBJECT P PRE Q SAMP SMALL SPAN STRONG SUB SUP TD TH TT VAR
Example
SourceAppearance
<P>
<BDO dir="ltr">
Now is the time
</BDO>
<P>
<BDO dir="rtl">
Now is the time
</BDO>

Now is the time

Now is the time

search Search · star Market
2023-06-19 · John December · Terms © johndecember.com