Help:HTML in wikitext

From Festipedia, hosted by the FR Heritage Group

You can use HTML in wikitext. However, wikitext markup is generally easier for other users to understand, so you should only use HTML where it is not possible to achieve the desired effect in wikitext.

It is possible to do undesirable things in HTML. In order to prevent this, the wiki only supports the following HTML elements:

  • <b>
  • <big>
  • <blockquote>
  • <br>
  • <caption>
  • <center>
  • <cite>
  • <code>
  • <dd>
  • <del>
  • <div>
  • <dl>
  • <dt>
  • <em>
  • <font>
  • <h1>
  • <h2>
  • <h3>
  • <h4>
  • <h5>
  • <h6>
  • <hr>
  • <i>
  • <ins>
  • <li>
  • <ol>
  • <p>
  • <pre>
  • <rb>
  • <rp>
  • <rt>
  • <ruby>
  • <s>
  • <small>
  • <span>
  • <strike>
  • <strong>
  • <sub>
  • <sup>
  • <table>
  • <td>
  • <th>
  • <tr>
  • <tt>
  • <u>
  • <ul>
  • <var>
  • <!--...-->

Any element not listed above will be escaped so that it appears as <tag> on the output page. The software also checks that the elements used are nested correctly, escaping any that are not. Any missing closing tags (</tag>) are automatically added at the end of the page.

Attributes

In addition to the above, the software also checks that only safe attributes are allowed and ensures that they are correctly formatted. The allowed attributes differ depending on the element. The following attributes are allowed for appropriate elements:

  • abbr
  • align
  • axis
  • bgcolor
  • border
  • cellpadding
  • cellspacing
  • char
  • charoff
  • cite
  • class
  • clear
  • color
  • colspan
  • datetime
  • dir
  • face
  • frame
  • headers
  • height
  • id
  • lang
  • noshade
  • nowrap
  • rbspan
  • rowspan
  • rules
  • scope
  • size
  • start
  • style
  • summary
  • title
  • type
  • valign
  • value
  • width