Lists
Lists are used to group items in a list of items.
Agenda
- HTML Lists
- Unordered Lists
- Ordered Lists
- CSS Lists Properties
start
attribute- Description Lists
Lists
There are 2 kinds of lists in HTML: unordered or bulleted lists and ordered or numbered lists.
An unordered list contains a list of items that don’t need to be in a particular order.
The <ul>
and </ul>
tags are used to create unordered or bulleted lists.
Items in the lists are added by using the <li>
and </li>
tags.
CSS Lists Properties
list-style-type
The list-style-type property is used to define the style of the list item marker.
list-style-image
The list-style-image property used to specify an image as the list item marker in unordered lists.
list-style-position
The list-style-position property specifies the position of the list item marker in unordered lists.
list-style
The list-style property is a shorthand property. It is use to set all the list properties in one declaration.