HTML: List style type attribute values

This entry is part 11 of 34 in the series HTML

In the earlier example, we have used a square to style the bulletted list using the list-style-type parameter.

<ul style='list-style-type: square'>

Here are the additional styles that we can use for bulletted list or numbered list.

List StyleValueResult
BulletedDiscFilled circle (the default)
CircleUnfilled circle
SquareFilled square
NumberedDecimal1,2,3,4 (the default)
lower-romani, ii, iii, iv
upper-romanI, II, III, IV
Series Navigation<< HTML: Changing the bullet or number character
HTML: Specifying the start of a numbered list >>

Leave a comment

Leave a Reply