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:
Post a Comment