The markers for an unordered list can be changed by setting the list-style-type style property. There are four types: disc, circle, square, and none. These are set, respectivey, by setting the list-style-type attribute as follows:
The default that is used when the no value is set is disc.
<!DOCTYPE html> <html> <head> <title>XoaX.net's HTML Unordered List Example</title> </head> <body> <ul style="list-style-type:square"><b>The Seven Sacraments of the Church</b> <li>Baptism</li> <li>Confirmation</li> <li>The Eucharist</li> <li>Penance</li> <li>The Anointing of the Sick</li> <li>Holy Orders</li> <li>Matrimony</li> </ul> </body> </html>
© 20072024 XoaX.net LLC. All rights reserved.