Up to 80% off for Students from Adobe. Plus FREE Shipping Offer
Search this site for a word or phrase. Place phrases inside "double
quotes"
You can change the blob to other shapes with additional HTML code, or change
it to a graphic image with CSS
Ordered List: Tag <ol>
Sample
Code
The default Ordered List is Numbered 1., 2., 3, etc.
one
two
three
etc.
<ol> <li>one</li> <li> two </li> <li>three</li> <li>etc.</li>
</ol>
You can change the type of ordering such as alphabetical, roman numarals
etc with additioal HTML code
.
Changing the Default
The default for Unordered and Ordered lists can be changed by
the deprecated type attribute or by style sheets.
Type can be applied to the UL, OL or LI tags.
UL (Unordered List) example
<ul type="a">
HTML
type
CSS
list-style-type
Result in a list...
Example <ul type="circle">
Example
LI {list-style-type:circle}
circle
The open circle o
disc
Default- the blob, or solid circle
square
The square
OL (Ordered List) examples
HTML
list-style-type,upper-alpha,lower-alpha,upper-roman,lower-roman,decimal
HTML
CSS
Example <ol type="a">
Example
LI {list-style-type:lower-alpha}
A
upper-alpha
A, B, C, ...
a
lower-alpha
a, b, c, ...
I
upper-roman
I, II, III, ...
i
lower-roman
i, ii, iii, ...
1
decimal
1, 2, 3, ...
Example of the use of both HTML and in line styles.
Although more time consuming it will be better to use CSS styles rather than
the HTML type deprecated attribute.
Leisure Time - book your holiday or flights with our UK sponsors
Book a Monarch Holiday
Book a Thomson holiday
Book a Portland Holidays Direct
Fly Thomas Cook flights
Direct Holidays
Jet2 Cheap flights
More Tutorials
Home page of a tutorial in programming in Smalltalk, a object-oriented programming language.
This is an ideal tutorial for anybody learning Smalltalk and of particular interest
to students on courses: M206 at the OU Open University, and course CSC517 at NCSU North
Carolina State University
Home page of a tutorial in programming in C This is an ideal tutorial for anybody
learning C programming language, and of particular interest to students on courses:
T223 at the OU Open University.