Changes

2,877 bytes added ,  11:05, 13 March 2018
m
1 revision imported: Resources from GCPedia
{{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"|
* &lt;b&gt;
* &lt;big&gt;
* &lt;blockquote&gt;
* &lt;br&gt;
* &lt;caption&gt;
* &lt;center&gt;
* &lt;cite&gt;
* &lt;code&gt;
* &lt;dd&gt;
* &lt;div&gt;
* &lt;dl&gt;
* &lt;dt&gt;
* &lt;em&gt;
* &lt;font&gt;
* &lt;h1&gt;
| valign="top"|
* &lt;h2&gt;
* &lt;h3&gt;
* &lt;h4&gt;
* &lt;h5&gt;
* &lt;h6&gt;
* &lt;hr&gt;
* &lt;i&gt;
* &lt;li&gt;
* &lt;ol&gt;
* &lt;p&gt;
* &lt;pre&gt;
* &lt;rb&gt;
* &lt;rp&gt;
* &lt;rt&gt;
* &lt;ruby&gt;
| valign="top"|
* &lt;s&gt;
* &lt;small&gt;
* &lt;strike&gt;
* &lt;strong&gt;
* &lt;sub&gt;
* &lt;sup&gt;
* &lt;table&gt;
* &lt;td&gt;
* &lt;th&gt;
* &lt;tr&gt;
* &lt;tt&gt;
* &lt;u&gt;
* &lt;ul&gt;
* &lt;var&gt;
* &lt;!-- ... --&gt;
|}


=== 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
(&lt;!-- --&gt;) 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
(&lt;!-- --&gt;) 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]]