HTML Lists

HTML Lists enable us to group a set of related items in lists.

List Types

There are 3 List types in HTML

  1. Ordered List – Used to group a set of related items in no particular order
  2. Unordered List – Used to group a set of related items in a specific order
  3. Description List – Used to display name/value pairs such as terms and definitions
Ordered List
  1. First Item
  2. Second Item
  3. Third Item

Unordered List
  • List Item
  • List Item
  • List Item

Description List
Programming Language
Markup Language
Scripting Language

Ordered List

   <li>First Item</li>
   <li>Second Item</li>
   <li>Third Item</li>

Unordered List

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

Description List

   <dd>Programming Language</dd>
   <dd>Markup Language</dd>
   <dd>Scripting Language</dd>

Author: Mahesh

Technical Lead with 10 plus years of experience in developing web applications using Java/J2EE and web technologies. Strong in design and integration problem solving skills. Ability to learn, unlearn and relearn with strong written and verbal communications.