CSS list-style-type Property
Complete CSS Reference
Example
Set some different list styles:
ul.circle {list-style-type:circle}
ul.square {list-style-type:square}
ol.upper-roman {list-style-type:upper-roman}
ol.lower-alpha {list-style-type:lower-alpha} |
Try it yourself »
More examples at the bottom of this page.
|
Definition and Usage
The list-style-type specifies the type of list-item marker in a list.
| Default value: |
disc |
| Inherited: |
yes |
| Version: |
CSS1 |
| JavaScript syntax: |
object.style.listStyleType="square" |
Browser Support

The list-style-type property is supported in all major browsers.
Note: No versions of Internet Explorer (including IE8) support the property values
"decimal-leading-zero", "lower-greek", "lower-latin", "upper-latin", "armenian",
"georgian", or "inherit".
Property Values
| Value |
Description |
| none |
No marker |
| circle |
The marker is a circle |
| disc |
The marker is a filled circle. This is default |
| square |
The marker is a square |
| armenian |
The marker is traditional Armenian numbering |
| decimal |
The marker is a number |
| decimal-leading-zero |
The marker is a number padded by initial zeros (01, 02, 03,
etc.) |
| georgian |
The marker is traditional Georgian numbering (an, ban, gan,
etc.) |
| lower-alpha |
The marker is lower-alpha (a, b, c, d, e, etc.) |
| lower-greek |
The marker is lower-greek (alpha, beta, gamma, etc.) |
| lower-latin |
The marker is lower-latin (a, b, c, d, e, etc.) |
| lower-roman |
The marker is lower-roman (i, ii, iii, iv, v,
etc.) |
| upper-alpha |
The marker is upper-alpha (A, B, C, D, E, etc.) |
| upper-latin |
The marker is upper-latin (A, B, C, D, E, etc.) |
| upper-roman |
The marker is upper-roman (I, II, III, IV, V,
etc.) |
| inherit |
Specifies that the value of the list-style-type property should be inherited
from the parent element |
 |
Try it Yourself - Examples |
All the different list-item markers in lists
This example demonstrates all the different list-item markers.
Related Pages
CSS tutorial: CSS List
CSS reference: list-style property
HTML DOM reference: listStyleType property
Complete CSS Reference
Make your web applications look like a million bucks
|
|
Most web applications today use boring methods to present data to their viewers using grids or simple HTML tables. FusionCharts induces "life" into the web applications by converting monotonous data into lively charts, gauges & maps.
FusionCharts works with all technologies like ASP, ASP.NET, PHP, ColdFusion, Ruby on Rails, JSP, HTML pages etc.
and connects to any database to render animated & interactive charts. It takes less than 15 minutes and no expertise
whatsoever to build your first chart and just a glance of it to captivate your audience. This fact is endorsed by our
12,000 customers and 150,000 users which include a majority of the Fortune 500 companies.
And yeah, your applications could look like a million bucks by spending just $69.
So go ahead, download your
copy of FusionCharts and start "wow-ing" your customers now!
|
 |
W3Schools' Online Certification Program
The perfect solution for professionals who need to balance work, family, and career building.
More than 4000 certificates already issued!
|
The HTML Certificate documents your knowledge of HTML, XHTML, and CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
|