* Copyright 2012 Google Inc.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
The HTML ordered list element (
<ol>) represents an ordered list of items. Typically, ordered-list items are displayed with a preceding numbering, which can be of any form, like numerals, letters or Romans numerals or even simple bullets. This numbered style is not defined in the HTML description of the page, but in its associated CSS, using the
There is no limitation to the depth and imbrication of lists defined with the
both represent a list of items. They differ in the way that, with the
element, the order is meaningful. As a rule of thumb to determine which one to use, try changing the order of the list items; if the meaning is changed, the
element should be used, else the
element should be styled using . To give a similar effect than the compact attribute, the property
can be used with a value of 80%.
'a'indicates lowercase letters,
' A'indicates uppercase letters,
'i'indicates lowercase Roman numerals,
'I'indicates uppercase Roman numerals,
The type set is used for the entire list unless a different
attribute is used within an enclosed