Community Central
Community Central
No edit summary
Tag: Help
Line 5: Line 5:
   
 
==HTML tags that can be used on Wikia==
 
==HTML tags that can be used on Wikia==
The following HTML tags can be used on articles:
+
The following HTML tags can be used on articles:
   
 
{| class="article-table" width="100%"
 
{| class="article-table" width="100%"

Revision as of 05:46, 3 September 2014

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

  • Help with tables
  • Editing
  • {{#NewWindowLink:MetaWikipedia:Help:Editing|Wikimedia's help page}}
  • {{#NewWindowLink:MetaWikipedia:Help:HTML in wikitext|Using HTML in Wikitext}}
  • {{#NewWindowLink:Wikipedia:Wikipedia:Span tags|Information on using span tags}}

Further help & feedback