Rob
asked

Expert
Abhay Jajodia answered
When you use the tag for unordered lists, the browser automatically adds bullet points (•) to each list item.
And when you use the tag for ordered lists, the browser automatically numbers the list items in ascending order.
Here's a sample for both:
Unordered List:
- Milk
- Bread
- Paper Towels
- Apples
This code will display the grocery items with bullet points.
Ordered List:
- Milk
- Bread
- Paper Towels
- Apples
This code will display the grocery items with numbers (1, 2, 3,...).
Connection to Your Lesson:
You've got the concept down! Just remember that
is used for items that don't need a specific orderis for items that need to be numbered
The tag remains your trusty tool for listing each item.
Hope this clears things up! Let me know if you have more questions or if you’d like to explore further into how you can customize lists. 😊
HTML
This question was asked as part of the Learn HTML course.
Our Experts
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
Kelish RaiTechnical Content Writer
Abhilekh GautamSystem Engineer
Palistha SinghTechnical Content Writer
Sarthak BaralSenior Content Editor
Saujanya Poudel
Abhay Jajodia
Nisha SharmaTechnical Content Writer
Udayan ShakyaTechnical Content Writer