This wiki is for the exclusive use of my friends and colleagues. Account creation and anonymous editing have been turned off.

If you are a friend or colleague of mine, and would like to participate in this project, please send me a message.

If you find these pages useful, please donate to help cover server costs. Thanks!

Help:HTML Entities

From OdleWiki
Revision as of 18:45, 28 October 2013 by Kenneth John Odle (talk | contribs) (Created page with "You can enter HTML entities directly into a Mediawiki page. ==Line Breaks== You can enter <nowiki><br /></nowiki> to insert a line break. For example, this <pre> This line<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

You can enter HTML entities directly into a Mediawiki page.

Line Breaks

You can enter <br /> to insert a line break. For example, this

This line<br />has a break in the middle.

will appear as this:

This line
has a break in the middle.

<div>'s and span's

You can also insert <div> and <span> to organize inline and block-level elements.

For example, this markup

<div class="colthree">
List of items.
*First item
*Second item
*Third item
Numerical list of items.
#First item
#Second item
#Third item
Third list
*Item
*Another item
*Yet another item
</div>

produces this output:

List of items.

  • First item
  • Second item
  • Third item

Numerical list of items.

  1. First item
  2. Second item
  3. Third item

Third list

  • Item
  • Another item
  • Yet another item

To see which classes have been defined for your use, please view the style sheet.

To understand the difference between <div> and <span>, consult any of the following sources: