list-style-type: decimal-leading-zero : list style type « CSS « HTML / CSS

HTML / CSS » CSS » list style type 
list-style-type: decimal-leading-zero
   
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title></title>
        <style type='text/css'>
            ol {
                font-family: sans-serif;
            }
            ol#decimal-leading-zero li {
                list-style-type: decimal-leading-zero;
            }
        </style>
    </head>
    <body>
        <ol id='decimal-leading-zero'>
            <li>This is the first list item.</li>
            <li>This is the second list item.</li>
            <li>This is the third list item.</li>
        </ol>
    </body>
</html>

   
    
  
Related examples in the same category
1.The list-style-type Property
2.'list-style-type' Example
3.The table that follows lists the popularly supported values for ordered lists.
4.list-style-type: upper-greek
5.list-style-type: square
6.list-style-type: disc
7.list-style-type: circle
8.list-style-type: lower-roman
9.list-style-type: upper-latin
10.list-style-type: lower-latin
11.list-style-type: lower-greek
12.list-style-type: georgian
13.list-style-type: decimal
14.list-style-type: armenian
15.list style type: armenian
16.list style type: decimal and decimal leading zero
17.list style type: georgian
18.list style type: lower greek
19.list style type: lower latin
20.list style type: lower latin, upper latin
21.list style type: lower roman
22.list style type: lower roman upper roman
23.list style type: square, disc, circle
24.list style type: upper greek
25.list style type: upper latin
26.list style type: upper roman
27.list-style-type: upper-roman; list-style-position: inside;
28.list-style-type: decimal; list-style-position: outside;
29.Changing unordered list markers to square
30.UL list-style: none
31.UL list-style-type: disc;
32.list-style-type: none
33.Character marker for list
34.Entity marker
35.list-style-type: lower-latin/upper-latin
36.list-style-type: square/disc/circle
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.