<!DOCTYPE html> <html> <head> <style> ul { list-style: square inside url("sqpurple.gif"); } </style> </head> <body> <h1>CSS 列表</h1> <p>list-style 属性是简写属性,用于在一条声明中设置所有列表属性。</p> <ul> <li>Coffee</li> <li>Tea</li> <li>Coca Cola</li> </ul> </body> </html>