Thursday, August 23

Creating lists

Listing enables you to list your favourite bands, movies and interests etc. There are 2 main types of list, ordered and unordered. Below is an example of an unordered list:

<ul> (unordered list)
<li>Item</li>
<li>Item</li>
<li>Item</li>
</ul>

Which looks like

  • Item

  • Item

  • Item


Then ordered lists, same thing but <ol> instead,:

<ol> (ordered list)
<li>Item</li>
<li>Item</li>
<li>Item</li>
</ol>

Which looks like:

  1. Item

  2. Item

  3. Item

No comments:


AddThis Social Bookmark Button