html tag
TAG: bdo
<bdo> ... </bdo>
The
bdo
tag is used to change the direction that the text reads, from left to right (the default) over to right to left, or vice versa. The purpose of this tag is to allow HTML to correctly display a great variety of languages, such as Chinese and Hebrew (which are read right to left), in the same document.
The separate closing tag is mandatory.
Attributes and Events
class
dir
id
lang
style
title
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="eng">
<head>
<title>DevGuru XHTML bdo Tag Example</title>
</head>
<body>
<
bdo dir="rtl"
">
Very few browsers support this tag.
<br />
.gat siht proppus sresworb wef yreV
<
/bdo
>
</body>
</html>
Output:
Click to view in separate window
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information