Choosing Your Markers (Bullets)

When you create a list, be it ordered or unordered, you can also choose what sort of markers (bullets or numbers) should appear to the left of each list item.

Figure 15.5. Here is our simple ordered list, to which we will apply capital Roman numerals (upper-roman).

To choose your markers:

In the style sheet rule, type list-style-type: marker, where marker is one of the following values: disc (), circle (), square(▪) ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide 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.