HTML <bdo> tag
Definition and Usage
The bdo element overrides the default text direction.
Differences Between HTML and XHTML
NONE
Example
| Source |
Output |
| <bdo dir="rtl">Here is some Hebrew text</bdo> |
Here is some Hebrew text |
Required Attributes
DTD indicates in which DTD the attribute is
allowed. S=Strict, T=Transitional, and F=Frameset.
| Attribute |
Value |
Description |
DTD |
| dir |
ltr
rtl |
Defines the text direction |
STF |
Standard Attributes
| id, class, title, style, dir, lang, xml:lang |
For a full description, go to Standard Attributes.
Try-It-Yourself Demos
Text direction
How to change the text direction.
 |
|
Get Your Diploma!
W3Schools' Online Certification Program is the perfect solution for busy
professionals who need to balance work, family, and career building.
The HTML Certificate is for developers who want to document their knowledge of HTML, XHTML, and CSS.
The ASP Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.
|
|