Code subject: overriding the direction of text within body content
Posted: Tue Dec 13, 2011 10:54 pm
Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
bdo tag used in overriding the direction of text within body content , you can use such tag when you are using languages that have different direction, for instance English and Arabic.
Code:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>override the direction of word.</title> </head>
<body> <p>Normal test direction</p> <p><bdo dir="rtl">change in the direction</bdo></p>
</body> </html>
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )