2,877 bytes added
, 10:05, 13 March 2018
m{{GC2.0 Tools Help gcp}}
{{TOCleft}}
{{Help TOC|star=1}}
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'''.
<br><br><br>
==Permitted HTML==
The following HTML elements are currently permitted:
{| border="0" cellpadding="5"
| valign="top"|
* <b>
* <big>
* <blockquote>
* <br>
* <caption>
* <center>
* <cite>
* <code>
* <dd>
* <div>
* <dl>
* <dt>
* <em>
* <font>
* <h1>
| valign="top"|
* <h2>
* <h3>
* <h4>
* <h5>
* <h6>
* <hr>
* <i>
* <li>
* <ol>
* <p>
* <pre>
* <rb>
* <rp>
* <rt>
* <ruby>
| valign="top"|
* <s>
* <small>
* <strike>
* <strong>
* <sub>
* <sup>
* <table>
* <td>
* <th>
* <tr>
* <tt>
* <u>
* <ul>
* <var>
* <!-- ... -->
|}
=== HTML tags ===
You can use some '''HTML tags''' too. However, you should avoid HTML in favor of Wiki markup whenever possible.
{| width="600" border="1" cellpadding="2" cellspacing="0" class="wikitable" style="background:white;"
!What it looks like
!What you type
|-
|
Put text in a <tt>typewriter
font</tt>. The same font is
generally used for <code>
computer code</code>.
|<pre>Put text in a <tt>typewriter
font</tt>. The same font is
generally used for <code>
computer code</code>.</pre>
|-
|
<strike>Strike out</strike>
or <u>underline</u> text,
or write it <span style=
"font-variant:small-caps">
in small caps</span>.
|<pre>
<strike>Strike out</strike>
or <u>underline</u> text,
or write it <span style=
"font-variant:small-caps">
in small caps</span>.
</pre>
|-
|
Superscripts and subscripts:
X<sup>2</sup>, H<sub>2</sub>O
|<pre>
Superscripts and subscripts:
X<sup>2</sup>, H<sub>2</sub>O
</pre>
|-
|
<center>Centered text</center>
* Please note the American spelling of "center".
|<pre>
<center>Centered text</center>
</pre>
|-
|
<blockquote>
The '''blockquote''' command will
indent both margins when needed
instead of the left margin only
as the colon does.
</blockquote>
|<pre>
<blockquote>
The '''blockquote''' command will
indent both margins when needed
instead of the left margin only
as the colon does.
</blockquote>
</pre>
|-
|
Invisible comments to editors
(<!-- -->) only appear
while editing the page.
<!-- Note to editors:
blah blah blah. -->
* If you wish to make comments to the public, you should usually use the [[Help:Talk page|talk page]].
|<pre>
Invisible comments to editors
(<!-- -->) only appear
while editing the page.
<!-- Note to editors:
blah blah blah. -->
</pre>
|}
[[Category: GCPEDIA Help|H]]
[[Fr:Aide:Utilisation du HTML dans le wikitext]]