HTML ol li tag (ordered lists)


<ol type="1"> 
  <li>Contents A</li> 
  <li>Contents B</li> 
  <li>Contents C</li> 
</ol>

<ol> define ordered lists.

<ol> may contains multiple <li>.

type attribute indicate the numbering type :

  • '1' : numbers (default)
  • 'a' : lowercase letters
  • 'A' : uppercase letters
  • 'i' : lowercase roman numbers
  • 'I' : uppercase roman numbers

Result :
  1. Contents A
  2. Contents B
  3. Contents C




Copyright 2014-2017 by DeveloperTut.com. All Rights Reserved.
TwitterGoogle+Facebook