Help:HTML

HTML (Hypertext Markup Language) is a language used on websites to format the layout and content. Wiki pages are generally managed by wikitext rather than HTML, so only a limited number of HTML tags can be used on articles.

HTML (and wikitext) can be written and managed while using the editor's source mode.

Contents

Available HTML tags

The following HTML tags can be used on articles. Deprecated HTML tags will still work, but they may not in future software versions or browsers.

<abbr>

<acronym>(deprecated)

<b>

<big>(deprecated)

<blockquote>

<br />

<caption>

<center>(deprecated)

<cite>

<code>

<dd>

<del>

<dfn>

<div>

<dl>

<dt>

<em>

<font>(deprecated)

<h1>

<h2>

<h3>

<h4>

<h5>

<h6>

<hr>

<i>

<ins>

<li>

<ol>

<p>

<pre>

<q>

<rb>

<rp>

<rt>

<ruby>

<s>

<small>

<span>

<strike>(deprecated)

<strong>

<sub>

<sup>

<table>

<td>

<th>

<tr>

<tt>(deprecated)

<u>

<ul>

<var>

<!-- ... -->(displayed as in visual mode; except UCP has different symbol)

Usage notes

Keep it friendly

The use of wikitext is recommended wherever possible, as HTML generally makes the text in the edit box harder to read and more intimidating for new users. Complex uses of HTML and CSS can be hidden away in templates where they are less likely to get in the way of the casual editor.

Combine it with CSS

Styling information can be stored in community CSS pages (using code like class="classname"). Both CSS classes and inline styling (style="color: pink;") can be used with the HTML tags listed above, and they can also be used with many types of wikitext, particularly tables, table rows and cells. However, please keep in mind that use of inline styling should be limited, as it can cause conflicts with the mobile experience of your community.