In HTML, you can remove the list item symbol by adding the "list-style-type:none;" style in the list tag (ul, ol) using the style attribute. The list-style-type attribute can set the type of list item markup. When the value is set to "none", the list item markup can be removed.
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
In HTML, there are two types of lists:
Unordered listul
- List items are marked with special graphics (such as small black dots, small boxes, etc.)
Ordered listol
- List items are marked with numbers or letters
无序列表实例:
有序列表实例:
Rendering:
What should I do if I want to remove the list item symbols?
In fact, it is very simple. In the list tag (ul, ol), use the style attribute to add the "list-style-type:none;" style.
无序列表实例:
有序列表实例:
Rendering:
(Learning video sharing:css video tutorial)
The above is the detailed content of How to remove list item symbols in HTML. For more information, please follow other related articles on the PHP Chinese website!