CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS list-style property




The CSS list-style property write to shorthand style list item in elements.


Property Values


Properties Value Description
Syntax list-style:value;
value   Size_px
  Peercentage
  auto
  inherit
Allow to List elements
Inherited Yes

Example-Code:

<p>Circle List</p>
<ol style="list-style:circle inside">
<li>list 1</li>
<li>list 2</li>
<li>list 3</li>
</ol>
Online Try This Code Your Self....   »

Example-Result:

Circle List

  1. list 1
  2. list 2
  3. list 3