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.
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.
<acronym>(deprecated, see here)
<big>(deprecated, see here)
<center>(deprecated, see here)
<font>(deprecated, see here)
<pre>(it is actually a parser tag, applying the HTML tag but also escaping any markup inside except HTML entities, similar to <nowiki>)
<strike>(deprecated, see here)
<tt>(deprecated, see here)
<!-- ... -->(displayed as in visual mode; except UCP has different symbol)
- 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.