Wikia

GTA Wiki

Help:HTML

Talk0
9,654pages on
this wiki
Revision as of 03:34, September 10, 2010 by Gta-mysteries (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Code image
Location Source

How to access source mode in the editor

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, however, 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.

HTML tags that can be used on Wikia

The following HTML tags can be used on articles:

  • <abbr>
  • <acronym> (deprecated)
  • <b>
  • <big> (deprecated)
  • <blockquote>
  • <br />
  • <caption>
  • <center> (deprecated)
  • <cite>
  • <code>
  • <dd>
  • <del>
  • <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 Comment Icon in visual mode)

Usage Notes

Keep it friendly
The use of wikitext is recommended wherever possible, as HTML 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
CSS classes (class="classname") can be stored in site stylesheets. Both classes and CSS inline styles (style="color:pink;") can be used with the HTML tags listed above, but note that classes and styles can also be used with many types of wikitext, especially tables, table rows and cells.

See also

Further help & feedback

Around Wikia's network

Random Wiki