[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
HTMLSPEC-DBO

DBO

Usage

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

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

last edited (April 12, 2004) by leeos, Number of views: 1446, Current Rev: 4 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.