<BDO>...</BDO>
Description
This element overrides the bidirectional algorithm, the default algorithm to
resolve the direction to show the text. Normally, the bidirectional algorithm
is used to show a page which contains both left-to-right and right-to-left
text. The algorithm switches the direction when necessary, according to
language definition and the dir attribute.
This element turns the bidirectional algorithm of and specifies the base
direction for the text contained inside the element.
DTD
<!ELEMENT BDO - - (%inline;)* -- I18N BiDi over-ride -->
<!ATTLIST BDO
%coreattrs; -- id, class, style, title --
lang %LanguageCode; #IMPLIED -- language code --
dir (ltr|rtl) #REQUIRED -- directionality --
>
from the
HTML 4.0 DTD,
"Copyright ©
W3C,
(MIT,
INRIA,
Keio).
All Rights Reserved."
Attributes
Core attributes:
class
id
style
title
dir
This attribute specifies the direction of the text included in this element.
Possible values are :
- LTR: left-to-right
- RTL: right-to-left
This attribute must be supplied with this element.
lang
Description of the lang attribute
Examples
 |
Here's some text with both English and Hebrew text,
but already formatted correctly:
<P>
<PRE>
<BDO dir="LTR">english1 2WERBEH english3</BDO>
<BDO dir="LTR">4WERBEH english5 6WERBEH</BDO>
</PRE>
|
|
 |
Here's some text with both English and Hebrew text,
but already formatted correctly:
english1 2WERBEH english3
4WERBEH english5 6WERBEH
|