m (r2.7.2) (Robot: Adding es:Ayuda:HTML)
m (r2.7.2) (Robot: Adding ru:Справка:HTML)
Line 86: Line 86:

Revision as of 13:19, July 5, 2012

Code image
HTML (Hypertext Markup Language) is a language used on many websites to format 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 wiki pages.

HTML tags that can be used on Wikis

The following HTML tags can be used at Wikia:

  • <abbr>
  • <acronym>
  • <b>
  • <big>
  • <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>
  • <u>
  • <ul>
  • <var>
  • <!-- ... -->

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 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

Community content is available under CC-BY-SA unless otherwise noted.