Help:HTML in wikitext: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
<noinclude>{{pp-semi-indef|small=yes}}
</noinclude>{{Redirect|Wikipedia:WP:HTML|general information about the default markup language on Wikipedia|Wikipedia:HTML 5}}
{{Locutions pages header}}
{{Wikipedia how to}}
Line 64:
 
==== h1, h2, h3, h4, h5, h6 ====
{{see|Help:Section|Wikipedia:MOS:HEAD}}
The {{tag|h1}} through {{tag|h6}} tags are headings for the sections with which they are associated. {{tag|h1|o}} is used for the article title. Headings are [[Help:Cascading Style Sheets#Wiki headings|styled through CSS]] and added to the page's [[Help:table of contents|table of contents]].
 
Line 148:
 
==== hr ====
{{see|Wikipedia:WP:LINE}}
{{tag|hr|o}} or {{tag|hr|s}} represents a paragraph-level thematic break and presents as a horizontal rule.
 
Line 166:
 
==== Comments ====
{{see|Wikipedia:WP:COMMENT}}
{{tag|!--}} formats the enclosed text as a hidden comment.
 
Line 199:
 
==== b ====
{{see|Wikipedia:MOS:BOLD}}
{{tag|b}} formats text stylistically offset from other text (bold) without conveying extra importance.
 
Line 243:
 
==== blockquote ====
{{see|Wikipedia:MOS:QUOTE}}
{{tag|blockquote}} presents text in an offset block.
 
Line 304:
 
==== em ====
{{see|Wikipedia:MOS:ITALIC}}
{{tag|em}} represents a span of text with emphatic stress (i.e. semantic emphasis). In most browsers, it renders as italic.
 
Line 315:
 
==== i ====
{{see|Wikipedia:MOS:ITALIC}}
{{tag|i}} represents a span of text offset from its surrounding content without conveying any extra emphasis or importance, and for which the conventional typographic presentation is italic text.
 
Line 330:
 
==== ins ====
{{tag|ins}} indicates a range of text that has been added. Styled as underlined text. Used on talk pages to indicate refactored text; see [[Wikipedia:WP:REDACT]].
 
{{markup
Line 416:
}}
 
[[Wikipedia:MOS:QUOTATIONS]] says Wikipedia should instead use "", {{tl|quote}}, or <nowiki><blockquote></nowiki>.
 
==== rp, rt, ruby ====
Line 468:
 
==== small ====
{{see|Wikipedia:WP:FONTSIZE}}
{{tag|small}} format small text.
 
Line 480:
 
==== strong ====
{{tag|strong}} formats a span of text with strong importance or unusual emphasis; in most browsers it renders as boldface. This should generally not be used in Wikipedia articles, per [[Wikipedia:WP:Neutral point of view]] policy. See [[Wikipedia:MOS:BOLD]] on use of this element and other boldfacing. Most semantic emphasis, including in quoted material, should be rendered with the {{tag|em|o}} element.
 
{{markup
Line 490:
 
==== sub ====
{{see|Wikipedia:WP:SUBSCRIPT}}
{{tag|sub}} formats a span of text as a subscript.
 
Line 510:
 
==== sup ====
{{see|Wikipedia:WP:SUPSCRIPT}}
{{tag|sup}} formats a span of text as a superscript.
 
Line 540:
 
==== u ====
{{see|Wikipedia:MOS:BADEMPHASIS|Wikipedia:MOS:QUOTE}}
{{tag|u}} represents a span of text offset from its surrounding content without conveying any extra emphasis or importance, and for which the conventional typographic presentation is underlining; for example, a span of text in Chinese that is a proper name (a Chinese proper name mark), or span of text that is known to be misspelled.
 
Line 551:
 
==== var ====
{{see|Wikipedia:MOS:ITALIC}}
{{tag|var}} formats text in italics to indicate a variable in a mathematical expression or programming context, or placeholder text that the reader is meant to mentally replace with some other literal value.
 
Line 584:
 
=== Lists ===
{{see|Help:List|Wikipedia:MOS:LIST}}
 
Do not leave blank lines between items in a list unless there is a reason to do so, since this causes the MediaWiki software to interpret each item as beginning a new list.
Line 678:
 
=== Tables ===
{{see|Help:Table|Wikipedia:MOS:TABLES}}
 
==== table, td, tr ====