Copyright © tutorialspoint.com

HTML <bdo> tag



Advertisements

Function:

The HTML <base> tag is used to override the default text direction.

Difference between HTML and XHTML:

NONE

Example:

<bdo dir="rtl">Here's some English embedded in text in another language requiring a right-to-left presentation.</bdo>

This will produce following result:

Here's some English embedded in text in another language requiring a right-to-left presentation.

Online Practice:

To Become more comfortable - Do Online Practice

Attributes:

AttributeValueDescription
dirltr|rtlDefines the text direction

Standard Attributes:

AttributeDescription
classDocument wide identifier
dirSpecifies the direction of the text
idDocument wide identifier
titleSpecifies a title to associate with the element.
styleHelps to include inline casecadubf style sheet.
langSets the language code.

Copyright © tutorialspoint.com