Learn HTML Language

Used for creating webpages that contains texts, graphics, multimedia etc. Learn various tags, attributes that help you in web-development.

HTML Introduction
Tags Reference

HTML Lists

HTML lists allow web developers to group a set of related items in lists. There are three types of lists - unordered, ordered and defination

Unordered Lists

An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.

The list items will be marked with bullets (small black circles) by default:

For example

    < ul>
        <li>List item 1</li>
        <li>List item 2</li>
        <li>List item 3</li>
        < /ul>
  

Output :

Ordered Lists

An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.

The list items will be marked with numbers by default :

The list items will be marked with bullets (small black circles) by default:

For example

    < ol>
        <li>List item 1</li>
        <li>List item 2</li>
        <li>List item 3</li>
        < /ol>
  

Output :

  1. List item 1
  2. List item 2
  3. List item 3

Share this page on :