Difference between revisions of "Help:HTML Entities"
(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<...") |
(No difference)
|
Revision as of 18:45, 28 October 2013
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.
- First item
- Second item
- 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: