HTML list

HTML supports ordered, unordered, and defined lists:

Ordered list


The ordered list begins with the <ol> tag. Each list item begins with the <li> tag.

List item items are marked with numbers.

Instance

This example demonstrates an ordered list.


HTML unordered list


An unordered list is a list of items that are marked with bold dots (typically small black circles).

Unordered list using <ul> tag

Instance

This example demonstrates an unordered sequence table.


HTML custom list
A custom list is more than just a list of items, but a combination of items and their comments.

The custom list begins with a <dl> tag. Each custom list item begins with <dt>. The definition of each custom list item begins with <dd>.

Instance

This example demonstrates a list of definitions.


Tip : Paragraphs, line breaks, images, links, and other lists can be used inside a list item.

More examples
This example demonstrates different types of unordered lists.


Instance

This example demonstrates different types of ordered lists.


Instance

This example demonstrates how to nest a list.


HTML list tag


Label      description
<ol> Define an ordered list.
<ul>  Define an unordered list.
<li>     Define a list item.
<dl> Define a list of definitions.
<dt> Define a definition project.
<dd>Define a description of the definition.

     
       
       
    
        

        
        



Last Updated: 2018-07-06 12:32:44 By akshay

SHARE THIS

share_facebook share_twitter share_google_plus

Please Comment Here :