Community Central
Community Central
([MobileEditor] →‎Available HTML tags)
Tag: Help
(nowiki is not a HTML tag. Undo revision 2825068 by Applemasterexpert (wall))
Tag: Help
Line 37: Line 37:
 
* <code><nowiki><ins></nowiki></code>
 
* <code><nowiki><ins></nowiki></code>
 
* <code><nowiki><li></nowiki></code>
 
* <code><nowiki><li></nowiki></code>
* <code><nowiki><nowiki></nowiki></code>
 
 
* <code><nowiki><ol></nowiki></code>
 
* <code><nowiki><ol></nowiki></code>
 
* <code><nowiki><p></nowiki></code>
 
* <code><nowiki><p></nowiki></code>

Revision as of 02:08, 27 June 2019

Code image
Location Source

How to access source mode in the classic 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, 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.

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 Comments in visual mode)

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.

See also

Further help and feedback