Help:Editing

From Microformats Wiki
Revision as of 01:00, 4 April 2013 by Tantek (talk | contribs) (Protected "Help:Editing" [edit=autoconfirmed:move=sysop])
Jump to navigation Jump to search

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: