OL tag : ol « Tags « HTML / CSS

HTML / CSS » Tags » ol 
OL tag
    

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Listing 4-8. Ordered list</title>
</head>

<body>
  
  <ol>
    <li>C</li>
    <li>h</li>
    <li>P</li>
    <li>T</li>
    <li>d</li>
  </ol>

</body>
</html>

   
    
    
  
Related examples in the same category
1.'ol' creates an indented numbered (ordered) list
2.'start' specifies the starting number in an ordered list
3.'type' defines the style for the list items
4.Unordered Lists
5.Style for 'ol li'
6.list-style: none for OL
7.Add border to LI tag
8.Nested OL tag
9.Three level OL list
10.ol elements without a type attribute: have a numeric sequence type (i.e., 1, 2, ...)
11.A nested ordered list
12.Example of the start Attribute
13.Example of the value Attribute
14.Ordered lists started at 5
15.Numbering options on ordered lists
16.ol { counter-reset:Item }
17.Ordered List Example
18.ol {list-style-type: lower-roman;}
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.