Help:HTML in wikitext
It is considered good Wikiquette to use wiki syntax instead of HTML. For many HTML elements, more convenient wikitext code is available, see Help:Basic editing Only use HTML when essential.
Permitted HTML
The following HTML elements are currently permitted:
|
|
|
HTML tags
You can use some HTML tags too. However, you should avoid HTML in favor of Wiki markup whenever possible.
What it looks like | What you type |
---|---|
Put text in a typewriter
font. The same font is
generally used for |
Put text in a <tt>typewriter font</tt>. The same font is generally used for <code> computer code</code>. |
|
<strike>Strike out</strike> or <u>underline</u> text, or write it <span style= "font-variant:small-caps"> in small caps</span>. |
Superscripts and subscripts: X2, H2O |
Superscripts and subscripts: X<sup>2</sup>, H<sub>2</sub>O |
|
<center>Centered text</center> |
|
<blockquote> The '''blockquote''' command will indent both margins when needed instead of the left margin only as the colon does. </blockquote> |
Invisible comments to editors (<!-- -->) only appear while editing the page.
|
Invisible comments to editors (<!-- -->) only appear while editing the page. <!-- Note to editors: blah blah blah. --> |