[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
HTMLSPEC-DBO
Used to specify the language type of character text in a web document. Also specifies the direction in which the characters will be displayed.
Attributes
Specifies the RFC 1766 language code to be used to render the internal text.
Specifies the display direction of the internal characters. (left to right or right to left). Also note that this is a required attribute.
Code Tip
Use the <bdo> tag when needing to render text in a language different from the current or default language.
Live Example
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
HTMLSPEC-DBO
DBO
UsageUsed to specify the language type of character text in a web document. Also specifies the direction in which the characters will be displayed.
Attributes
lang="languageCode"
Specifies the RFC 1766 language code to be used to render the internal text.
dir="ltr | rtl"
Specifies the display direction of the internal characters. (left to right or right to left). Also note that this is a required attribute.
Code Tip
Use the <bdo> tag when needing to render text in a language different from the current or default language.
Live Example
<html> <head><title></title></head> <body> <bdo lang="se" dir="ltr">This is Sweden text.</bdo><br> <p>English Translation: This is Sweden text.</p> </body> </html>
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
