Difference between revisions of "Help:HTML in wikitext"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{TOCleft}} | {{TOCleft}} | ||
− | + | 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'''. | |
− | It is considered good Wikiquette to use wiki syntax instead of | ||
<br><br><br> | <br><br><br> | ||
+ | |||
+ | |||
==Permitted HTML== | ==Permitted HTML== | ||
The following HTML elements are currently permitted: | The following HTML elements are currently permitted: | ||
Line 138: | Line 139: | ||
|} | |} | ||
− | + | ||
[[Fr:Aide:Utilisation du HTML dans le wikitext]] | [[Fr:Aide:Utilisation du HTML dans le wikitext]] | ||
+ | [[Category:Wiki_Help]] |
Latest revision as of 09:40, 11 June 2018
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. --> |