Help:HTML in wikitext: Difference between revisions

Content deleted Content added
HTML5 is usually used without the space
rp, rt, ruby: rtc is also whitelisted
Line 425:
[[MOS:QUOTATIONS]] says Wikipedia should instead use "", {{tl|quote}}, or <nowiki><blockquote></nowiki>.
 
==== rp, rt, rtc, ruby ====
 
{{see|Ruby character}}
 
{{tag|ruby}} marks spans of phrasing content with ruby annotations.
* {{tag|rtc}} marks a ruby text container for ruby text components in a ruby annotation
* {{tag|rt}} marks the ruby text component of a ruby annotation; the ruby text shows in a reduced size over top of the normal characters.
* {{tag|rp}} is used to provide parentheses around a ruby text component of a ruby annotation, to be shown by user agents that don't support ruby annotations.
Line 437 ⟶ 438:
{{markup
|<syntaxhighlight lang="html"><ruby>
<rtc><rp>(</rp><rt>とう</rt><rp>)</rp></rtc>
<rtc><rp>(</rp><rt>きょう</rt><rp>)</rp></rtc>
</ruby></syntaxhighlight>
|<ruby>
<rtc><rp>(</rp><rt>とう</rt><rp>)</rp></rtc>
<rtc><rp>(</rp><rt>きょう</rt><rp>)</rp></rtc>
</ruby>
}}