i

Learn HTML and CSS in 10 Days

Unordered Lists

Creating Lists

Lists play an important role in our everyday life. Like the to-do list that helps us to know things that need to be completed.

Navigational routes help in providing turn-by-turn lists of directions. Recipes give a list of instructions as well as ingredients.

Having a list of several items helps us to get accustomed to the fact that why are they popular online.

To work with the listing, HTML offers three different ways to select from the Unordered list, Ordered list, and Description list. In addition to these three kinds of listing, one can style them in different ways using CSS. Like for example, we can go with any kind of marker (round, alphabetical, square, numeric, etc.). We can also choose our list to get displayed horizontally or vertically. All of them serve an important role to style a web page.

Unordered Lists

An unordered list is a list whose order is not important. To make an unordered list n HTML use . Each item placed inside the unordered list should be marked up with the help of the list item element, .

By default, several browsers sum up a left padding and vertical margin to the  element. Each of the  elements is preceded with the help of a solid dot.