html ol code example

Example 1: ol types

  1. The list items will be bulleted with numbers (default)
  1. The list items will be bulleted with Capital(UPPERCASE) letters
  1. The list items will be bulleted with with small(lowercase) letters
  1. The list items will be bulleted with with Capital(UPPERCASE) Roman letters
  1. The list items will be bulleted with with small(lowercase) Roman letters

Example 2: html number list

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

Example 3: html ordered list

    ol Header
  1. Item One
  2. Item Two
  3. Item Thre

Example 4: html unordered list

  • Item One
  • Item Two
  • Item Three
  • Item Four
  • Item Five

Example 5:

The ol element is used to define an ordered list.
This is a list where each list item is preceded by a numerical or alphabetical 
identifier (as opposed to an unordered list, ul , which has list items preceded
by bullet points).

Tags:

Misc Example