How to display furigana over kanji in html

The markup:

<ruby>漢<rt>かん</rt>字<rt>じ</rt></ruby>

Produces:

かん