Select the character mark in the beginning of the unordered list
CSS properties list-style-type
is used to define the first line character.
List of types arranged in HTML
This type of list starts with a card
Each item in the list starts with a card
,
Select the character mark in the top of the sorted list
Type attribute of the tag Defines the type of character used to mark a line.
List of descriptive types in HTML
This is a list of terms with descriptions for each term. Card
used to define description lists, tags
Definition of terms (names) and tags
used to describe.
Cà phê
- thức uống màu đen
Sữa
- thức uống màu trắng
List of nested HTML
List in HTML can be nested (nested list in list)
Note: items in the list may contain lists or other HTML elements such as images, links .
Control the count in the list
By default, the sort list will start counting from 1. If you want to count from another number, you use the start.
attribute start.
Create a list with CSS
HTML lists can be created in many ways, the common way is to do horizontally to create navigation menus.
Previous post: Table in HTML
The following article: Block and inline elements in HTML