Web Dev Matters and Me

Web Development Matters - HTML, XML, C#, .NET, AJAX/Javascript(jQuery), CSS, XML-XSLT

ME - LIFE,Philippines, Tokyo, ECE, PhilNITS/JITSE,情報処理, 日本語

things about Philippines, gaming, C# development and web development, how to make money in stock trading

Web Dev Matters and Me

HTML 5 Ruby Annotation.

A complete ruby annotation in HTML 5 consist
of ruby, rt and rp tag.


<ruby>


<rt>
わたし(watashi)
</rt><rp>Sorry your browser doesn't support HTML5</rp>
</ruby>


as we all know, ruby tag is to add ruby annotation in our HTML, rt is the text that was supposed to be, the
pronounciation guide. rp tag is optional, since it won't show up if the browser doesn't support ruby annotation, but not if the browser doesn't support HTML 5. If the browser can't, it will STILL DISPLAY THE RP TAG along with other tags, as if they are unknown HTML elements.



0 comments:

FB Connect