Version-//W3C//DTD HTML 4.01//EN
ElementOL
Purposeordered list
DescriptionThis element defines an ordered list, a list of items whose ordering is important. Examples include instruction steps or items ranked by some quality (such as preference or winners of a race). Compare this with the unordered list ul.
Start tagRequired <OL>
Attributes
NameTypeDefaultComment
class CDATA #IMPLIEDspace-separated list of classes
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text
idID#IMPLIEDdocument-wide unique id
lang NAME #IMPLIEDlanguage code as RFC1766; language code
onclick CDATA #IMPLIEDscript expression; a pointer button was clicked
ondblclick CDATA #IMPLIEDscript expression; a pointer button was double clicked
onkeydown CDATA #IMPLIEDscript expression; a key was pressed down
onkeypress CDATA #IMPLIEDscript expression; a key was pressed and released
onkeyup CDATA #IMPLIEDscript expression; a key was released
onmousedown CDATA #IMPLIEDscript expression; a pointer button was pressed down
onmousemove CDATA #IMPLIEDscript expression; a pointer was moved within
onmouseout CDATA #IMPLIEDscript expression; a pointer was moved away
onmouseover CDATA #IMPLIEDscript expression; a pointer was moved onto
onmouseup CDATA #IMPLIEDscript expression; a pointer button was released
style CDATA #IMPLIEDstyle sheet data; associated style info
title CDATA #IMPLIEDtext; advisory title
Content( LI )+
End tagRequired </OL>
Referenced in BLOCKQUOTE BODY BUTTON DD DEL DIV FIELDSET FORM INS LI MAP NOSCRIPT OBJECT TD TH
Example
SourceAppearance
The Solar System
<OL>
<LI>Inner
<OL>
<LI>Mercury
<LI>Venus
<LI>Earth
<LI>Mars
</OL>
<LI>Outer
<OL>
<LI>Jupiter
<LI>Saturn
<LI>Uranus
<LI>Neptune
<LI>Pluto
<LI>Kuiper Belt
</OL>
</OL>
The Solar System
  1. Inner
    1. Mercury
    2. Venus
    3. Earth
    4. Mars
  2. Outer
    1. Jupiter
    2. Saturn
    3. Uranus
    4. Neptune
    5. Pluto
    6. Kuiper Belt
Save this page to any social bookmarking site! Share · search Search · star Market
2022-02-10 · johndecember.com · Terms © December Communications, Inc.