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!

Difference between revisions of "Help:HTML Entities"

From OdleWiki
(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
 
[[Category:Articles needing attention]]
 

Latest revision as of 18:03, 8 July 2017

Farm-Fresh cup edit.png

Needs Attention
This article needs attention; however, it is not necessarily a stub or an orphan.


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: