HTML List #Part 3

 HTML List #Part 3



HTML lists allow web developers to group a set of related items in lists.

An unordered HTML list:

•Banana

•Apple

•Orange

An ordered HTML list:


1 banana

2 Apple

3 Orange

Unordered HTML List

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

<ul>

<li>one</li>

<li>two</li>

<li>tree</li>

</ul>

Ordered HTML List

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

<ol>

<li>one</li>

<li>two</li>

<li>tree</li>

</ol>






Try it Yourself...

what you think about this article ??

Post a Comment

Previous Post Next Post