Journal Calendar
<mar 2003>
SMTWTFS
      1
2 3456 78
910 1112 13 1415
16171819202122
23 242526272829
3031     

Page Published [7-MAR-2003]

ACRONYMS and HTML

There are two different ways to define the meaning of an acronym within an HTML document, the ACRONYM tag and the ABBR tag. In practise they are very similar, although their compatibility varies with browsers.

Examples

<acronym title="Hypertext Markup Language">HTML</acronym>

<abbr title="Extensible Markup Language">XML</abbr>

<ABBR> is only compatible with Netscape 6 upwards (Mozilla) whereas <ACRONYM> is supported by Internet Explorer 4 upwards and Netscape 6 upwards. It's probably a better choice to opt with <ACRONYM> in light of this.

Journal Entry Posted @ 15:50 GMT


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

Journal Entry Posted @ 15:16 GMT


Journal Index