What is the HTML list?

LAST READ: APR 15 2024 | Q. BY: MS MISHRA

S

Simran Rana

HTML Lists

HTML lists are provided to web developers to group a set of related items. There are basically two lists used in HTML including an Unordered HTML list and an Ordered HTML list.


An Unordered HTML List

An unordered list starts with the <ul> tag and each list item starts with the <li> tag. For more understanding, see below example:


<ul>

  <li>Home Work</li>

</ul>


OUTPUT

  • Home Work


An Ordered HTML List

An ordered list starts with the <ol> tag and each list item starts with the <li> tag as used in an Unordered list, for example:


<ol>

  <li>Home Work</li>

</ol>


OUTPUT

  1. Home Work

1 votes

Your Answer

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

LifeStyle & Fun

© 2024 GDATAMART.COM (All Rights Reserved)