List in HTML

html-list

HTML List:

There are two types of list in HTML. They are:

Unorder List:

Order List:

Unorder List:

To use unorderlist, you have to start with <ul> and end with </ul>. UL means unorder list. Inside the ul tag, you have to use <li> </li> and your text will contain li tags.

<ul>
<li>Water</li>
<li>Milk</li>
<li>Oil</li>
</ul>

List Type:

There are 3 types of order list. They are:
<ul style=”list-style-type: disc;”>
<ul style=”list-style-type: circle;”>
<ul style=”list-style-type: square;”>

Order List:

To use orderlist, you have to start with <ol> and end with </ol>. UL means order list. Inside the ul tag, you have to use <li> </li> and your text will contain li tags.

<ol>
<li>Water</li>
<li>Juice</li>
<li>Oil</li>
</ol>

List Type:

There are 5 types of order list. They are:

<ol style=”type: 1;”>
<ol style=”type: I;”>
<ol style=”type: i;”>
<ol style=”type: A;”>
<ol style=”type: a;”>

Twitter
Facebook
LinkedIn
WhatsApp
Tumblr
Reddit

If you find some necessity, Share the article to your social profile. Thanks a lot!