HTML unordered list
An unordered list is a list of items marked with bold dots (typically small black circles).
Unordered lists use the
The browser displays the following:
Coffee
Milk
Likewise, an ordered list is a list of items labeled with numbers. The ordered list starts with the
List items are numbered.
The browser displays the following:
Coffee
Milk
A custom list is not just a list of items, but a combination of items and their Comments.
Custom lists start with the <dl> tag. Each custom list item begins with
The browser displays the following:
Coffee
- black hot drink
Milk
- white cold drink
Tips: Paragraphs, line breaks, pictures, links, other lists, etc. can be used inside list items.
Label | describe |
---|---|
|
Define ordered list |
|
Define unordered list |
Define list items | |
|
Definition definition list |
Custom list items | |
Define the description of the custom list |
The above is the detailed content of Detailed introduction to HTML lists. For more information, please follow other related articles on the PHP Chinese website!