Name

list-style-type

Values:

lower-alpha|upper-alpha|none

Example:

OL { list-style-type: decimal } (1, 2, 3, 4, etc.)

OL { list-style-type: upper-roman } (A., B., C., D., etc.)

Applies to:

Elements with the display property set to list-item

Inherited:

Yes

This attribute specifies the appearance of the automatic numbering or bulleting of lists. Values are the same as for the type attribute within a list item (<li>). These numbers/bullets will be displayed when no list-item image is specified or if the image cannot be found.

Get Web Design in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.