Content deleted Content added
HTML5 is usually used without the space |
→Obsolete/deprecated elements: big is not obsolete in Linter |
||
(4 intermediate revisions by 2 users not shown) | |||
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>
}}
Line 777 ⟶ 778:
== Obsolete/deprecated elements ==
{{main|Wikipedia:HTML5#Obsolete elements and attributes}}
These elements are now obsolete and either deprecated or removed in HTML5, although they are still supported by browsers.<ref name="w3c_obsolete" /> '''Their use should be avoided on Wikipedia.''' These tags either have an alternate tag or a template that replaces their function with CSS; except for {{tag|big}}, the tags are being replaced by editors on pages throughout Wikipedia (see [[Wikipedia:Linter]] for more details). See {{slink|Wikipedia:HTML5#Obsolete elements and attributes}} for more details on obsolete HTML parts and their replacements.
=== big ===
{{dc|{{tag|big}} (obsolete)}} was used to render text in a "large" font.
Templates: {{tlx|big}} uses CSS.
=== center ===
Line 793 ⟶ 799:
{{dc|{{tag|rb}} (obsolete)}} was used to mark base text in a ruby annotation.
For replacements, see: [[Help:HTML in wikitext#rp, rt, rtc, ruby]]
=== strike ===
Line 814 ⟶ 820:
{{details|mw:Extension:InputBox}}
{{tag|input|o}} is used to create [[Form (HTML)|forms]]. The {{xtag|inputbox}} extension tag is used to create a text box with a button.
== HTML Tidy ==
{{historical |type=section}}
[[HTML Tidy]] is an outdated HTML4 library{{vague|upstream is now HTML5}} that is [[:mw:Parsing/Replacing Tidy|slated for removal]]. Tidy parses the MediaWiki output and cleans it up to increase the likelihood that valid HTML4 is rendered. For example, with Tidy enabled, {{tag|br|o}}, {{tag|br|c}}, {{tag|br/|o}}, {{tag|br.|o}} all rendered as {{tag|br|s}}. Tidy is not enabled for [[Help:MediaWiki namespace|MediaWiki interface pages]]. Tidy was never perfect and has been known to introduce errors.
== Exceptions ==
|