Site icon Code Exercise

How to create HTML Order List & Unorder List

html list tag

What is HTML Order List?

An order list is denoted by <ol>. This will utilize different plans of numbers to list your things.

Example:

Example of an order list tag in notepad++:

Sample Example:

<!DOCTYPE HTML>
<html>
    <head>
        <title>HTML LIST</title>    
    </head>
    <body>
        <ul>
            <li>order list 1</li>
            <li>order list 2</li>
            <li>order list 3</li>
            <li>order list 4</li>
            <li>order list 5</li>
        </ul> 
    </body>
</html>

After processing in browser:

What is HTML Unorder List?

An unorder list is denoted by <ul> . This will list things utilizing plain slugs.

Example:

Example of an unorder list tag in notepad++:

Sample Example:

<!DOCTYPE HTML>
<html>
    <head>
        <title>HTML LIST</title>    
    </head>
    <body>
        <ul>
            <li>unorder list 1</li>
            <li>unorder list 2</li>
            <li>unorder list 3</li>
            <li>unorder list 4</li>
            <li>unorder list 5</li>
        </ul> 
    </body>
</html>

After processing in browser:

Hope, you will be helped by this post. For more information, stay with us & give your opinions. For contact  Email: tipusultan01611@gmail.com.

Exit mobile version