ul and Li lists are the elements commonly used when using the layout page. The list-style-position attribute and the list-style attribute, such as the
one, the list-style-type attribute
list-style-type attribute, are the modifiers in front of the list of items that are used to define the Li list, the list-style-type attribute is an inheritable attribute, and its syntax structure is as follows:
list-style-type:none/disc/circl There are a lot of attribute values of the e/square/demical/lower-alpha/upper-alpha/lower-roman/upper-roman
list-style-type attribute, where we just enumerate a few commonly used
none: do not use the project symbol
disc: solid circle
circle: hollow round
square: solid squares : Arabia digital
lower-alpha: lowercase English alphabet
upper-alpha: uppercase English alphabet
lower-roman: lowercase Rome digital
upper-roman: capitalization of Rome digital
example code for list-style-type attributes:
.Lt; li.gt; this is the list content.Lt; /li.gt;
>; this is the list content; this is the two, and the attribute is used to define the use of pictures instead of the project. A symbol, too, is an inheritable attribute, whose syntax is as follows: the
list-style-image:none/url
list-style-image attribute can take two values:
none: no replacement picture
url: to replace the path of the picture.
example code:
[code] li{list-style-image:url (images/hackhp.gif);}
.Lt; ul.gt;
.Lt; li.gt; here is the list content; here is the list content;