/ Published in: CSS
The arguments circle, disc, square are used for the marked list. For the numbered list: decimal, lower-alpha, lower-roman, upper-alpha, upper-roman. The argument none determines marker type. It is the same as a parental element.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> <title>list-style-type</title> <style type="text/css"> UL { list-style-type: square; /* Square markers */ } </style> </head> <body> <ul> <li>Lorem ipsum dolor sit amet</li> <li>Consectetuer adipiscing elit</li> <li>Sed diem nonummy nibh euismod</li> <li>Tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</li> </ul> </body> </html>
URL: http://phpforms.net/tutorial/tutorial.html