2009/03/19

How to use Ruby Tag in XHTML 1.1

XHTML 1.1 offers "Ruby" Tag, which are used to provide annotation.

Example Code
<ruby>
  <rb>吳宇森</rb>
  <rp>(</rp><rt>John Woo</rt><rp>)</rp>
</ruby>

This example code above will look like this (best viewd with Internet Explore).

吳宇森 (John Woo)

As you have noticed, "Ruby" tag is very useful for adding annotation to the east Asian characters. Complete reference of "Ruby" tag here.

0 件のコメント:

コメントを投稿