Help:Editing: Difference between revisions
(5 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
== Using HTML == | == Using HTML == | ||
MediaWiki supports a lot of simple HTML markup which you should use to enhance the semantics of your wiki pages (for [[SEO] | MediaWiki supports a lot of simple HTML markup which you should use to enhance the semantics of your wiki pages (for [[SEO]] and other related good reasons). | ||
Here is a short list of common HTML tags that you may find useful (consult a good [[semantic HTML]] reference if you need more info about when to use which element). | Here is a short list of common HTML tags that you may find useful (consult a good [[semantic HTML]] reference if you need more info about when to use which element). |
Latest revision as of 04:59, 7 April 2013
The Basics
Please review how-to-play.
Using HTML
MediaWiki supports a lot of simple HTML markup which you should use to enhance the semantics of your wiki pages (for SEO and other related good reasons).
Here is a short list of common HTML tags that you may find useful (consult a good semantic HTML reference if you need more info about when to use which element).
<abbr>
<cite>
<code>
,<kbd>
,<samp>
,<var>
<dfn>
<div>
&<span>
<em>
&<strong>
<li>
/<ol>
/<ul>
<table>
,<thead>
,<tbody>
,<tfoot>
,<tr>
,<th>
,<td>
<time>
If you find additional semantic HTML elements that seem to work just fine in MediaWiki pages, please add them.
In addition to using HTML elements directly in your MediaWiki pages, feel free to use common attributes like:
style
class
Use the class
attribute in particular, e.g. with <div>
& <span>
, to add microformats like hCard for people mentioned in wiki pages, hCalendar for events, etc. And instead of span/div, be sure to use <abbr>
and <time>
when appropriate!
See Also
For more help with the wiki syntax, presentational markup, please see also: