# HTML Lists
● Unordered HTML List
An unordered list starts with the <ul> tag. EAch list item starts with the <li> tag.
The list items will be marked with bullets by default.
The list items will be marked with bullets by default.

● Unordered HTML List - Choose List Item Marker
The CSS list-style-type property is used to define the style of the list item marker.
![]() |
https://www.w3schools.com/html/html_lists.asp |

● Ordered HTML List
An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.
The list items will be marked with numbers by default.
The list items will be marked with numbers by default.

● Ordered HTML List - The Type Attribute
The type attribute of the <ol> tag, defines the type of the list item maker.
![]() |
https://www.w3schools.com/html/html_lists.asp |

● HTML Description Lists
HTML supports description lists.
A description list is a list of terns, with a description of each term.
The <dl> tag defines the description list, the <dt> tag defines the term, and the <dd> tag describes each term.
A description list is a list of terns, with a description of each term.
The <dl> tag defines the description list, the <dt> tag defines the term, and the <dd> tag describes each term.

● Nested HTML Lists
Lists can be nested.

● Horizontal Lists
HTML lists can be styled in many different ways with CSS.
One popular way is to style a list horizontally, to create a menu.
One popular way is to style a list horizontally, to create a menu.

No comments:
Post a Comment