// Tutorials / Ordered and Unordered lists in HTML

Posted The: 24/10/2008 - AT: 17:47

In HTML we have what is called ordered lists and unordered lists, these are used for larger collection of links.

Instead of simply separating links with a br, its recommended to either use something like a "-" between. Or better yet, insert your links in lists.

Unordered lists

Unordered lists is usually a bullet list of items, a bullet is placed in front of each link. An unordered list looks something like below:

  • List Item
  • List Item
  • List Item

Ordered lists

Often a numbered list, a number is placed in front of each link. Example shown below:

  1. List Item
  2. List Item
  3. List Item

Lists in Usability

Using lists for your navigation links is suposed to make it easier for screen readers, it will also allow more advanced styling of your links through CSS.

Example

Below is a code example showing an Ordered lists:

<ol>
 <li>List Item<li>
 <li>List Item<li>
 <li>List Item<li>
 <li>List Item<li>
 <li>List Item<li>
</ol>

You should Style your lists with CSS.

Stumble It!

Author: BlueBoden

Comments: [0]

  1. HTML Tutorial
  2. CSS Tutorial
  3. XHTML Tutorial
  4. RSS Tutorial
  5. PHP Tutorial
  6. htaccess Tutorial
  7. Server Tutorial
  8. SEO Tutorial

Checked At:04:14

4 Guests

0 Users

Online doing the past 15 Minutes!

PageRanking.dk - Flere hits og højere PageRank - GRATIS tilmelding!

This page was created in 0.0595359802246 seconds

Welcome Guest