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<...") |
m (Added "Needs Attention" template) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Template:Needs Attention}} | ||
+ | |||
You can enter HTML entities directly into a Mediawiki page. | You can enter HTML entities directly into a Mediawiki page. | ||
Line 38: | Line 40: | ||
produces this output: | produces this output: | ||
− | <div class="colthree"> | + | <div class="colthree sample"> |
List of items. | List of items. | ||
*First item | *First item | ||
Line 59: | Line 61: | ||
*http://en.wikipedia.org/wiki/HTML_element#Document_body_elements | *http://en.wikipedia.org/wiki/HTML_element#Document_body_elements | ||
*http://www.w3schools.com/html/html_blocks.asp | *http://www.w3schools.com/html/html_blocks.asp | ||
− | |||
− |
Latest revision as of 18:03, 8 July 2017
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: