Nik's Technology Blog

Travels through programming, networks, and computers

BDO Bi-directional Override HTML Tag

The <bdo> HTML tag is used to override the default direction of text. This can be handy when a web page contains paragraphs of other languages such as Chinese.

Attributes for this tag include:

dir - Specifies the direction [ltr or rtl]

lang - Specifies Language Code (RFC 1766)

This is the only tag that will reverse the direction of text so far and is only supported by Internet Explorer 5 upwards.

RFC 1766 Language Codes

Comments are closed