如何使用 CSS 控制标记的形状或外观?
javascriptweb developmentfront end scripts
list-style-type 允许您控制标记的形状或外观。您可以尝试运行以下代码来实现 list-style-type 属性以用于无序列表:
示例
<html> <head> </head> <body> <ul style = "list-style-type:circle;"> <li>Apple</li> <li>Mango</li> <li>Grapes</li> </ul> </body> </html>