What are the list properties of HTML
This article is to share with you about the list properties of HTML. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
1.。 Unordered list
An unordered list is a list of items marked with bold dots (typical small black circles).
An unordered list starts with a label. Each list item starts with.
CoffeeMilk
The browser displays as follows:
Coffee
Milk
Paragraphs, line breaks, pictures, links, and other lists can be used inside list items.
two。 Ordered list
Similarly, an ordered list is a list of items, which are marked with numbers.
An ordered list starts with a label. Each list item starts with a label.
CoffeeMilk
The browser displays as follows:
Coffee
Milk
Paragraphs, line breaks, pictures, links, and other lists can be used inside list items.
3. Definition list
A custom list is not just a list of items, but a combination of projects and their comments.
The custom list starts with a label. Each custom list item starts with. The definition of each custom list item begins with.
CoffeeBlack hot drinkMilkWhite cold drink
The browser displays as follows:
Coffee
Black hot drink
Milk
White cold drink
You can use paragraphs, newline characters, pictures, links, other lists, and so on within list items that define a list.
You can combine HTML elements through and.
Thank you for reading! This is the end of this article on "what are the list attributes of HTML?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!