How to cancel the sequence number of an ordered list in html
This article introduces the knowledge of "how to cancel the sequence number of an ordered list in html". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
In html, you can use the css list-style-type attribute to unsequence the ordered list, which sets the type of the list item tag by simply setting the "list-style-type:none;" style to the ol tag element.
Ordered list
An ordered list is a list of items marked with numbers.
An ordered list starts with a label. Each list item starts with a label.
Paragraphs, line breaks, pictures, links, and other lists can be used inside list items.
How to cancel the serial number of an ordered list in html?
In html, you can use list-style-type:none; to unnumber an ordered list.
The list-style-type property sets the type of list item tag, which can be removed when the value is set to "none".
Ol.b {list-style-type:none;}
Ordered list example:
Coffee Tea Coca Cola Coffee Tea Coca Cola
Output:
This is the end of the introduction to "how to cancel the serial number of an ordered list in html". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!