- Unordered information.
- Ordered information.
- Definitions.
Unordered List:
An unordered list is simply a list of related items whose order does not matter. Creating an unordered list in HTML is accomplished using the unordered list block-level element,
<ul>
. Each item within an unordered list is individually marked up using the list item element, <li>
.
By default, most browsers add a vertical
margin
and left padding
to the <ul>
element and precede each <li>
element with a solid dot. This solid dot is called the list item marker, and it can be changed using CSS.
<ul>
<li>Coffee</li><li>Tea</li>
<li>Milk</li>
</ul>
style="list-style-type:disc"
0 Comments