HTML
Design you web page by yourself
Lists


Lists are used to present information in an easy way. .In HTML there are two types of list
Ordered lists numbered list <ol> </ol>
Unordered list  bulleted list  <ul> </ul>
To add an item to a list you must use the list item tag <li> as the following example

<html>
<head>
<title>Html page with lists</title>
</head>
<body bgcolor="blue" dir="ltr" lang="en">
<h1 align="center">Html page with lists</h1>
<p>This is a unordered list of  countries
<ul>
<li>USA
<li>Canada
<li>China
<li>United kingdom
</ul>
<p>While this is an ordered list of countries
<ol>
<li>USA
<li>Canada
<li>China
<li>United kingdom
</ol>
</body>
</html>
Associated to unorderd  list is the type attribute (disc, square, and circle) These values are case-insensitive.
Example
<ul>
<li type = "circle">USA
<li type ="square">Canada
<li type="disc">China
</ul>

Values for the type attribute associated to the ordered lists  are:
  • 1        Arabic Numbers 1,2,3,…
  • a        Lower alpha  a,b,c,….
  • A       Upper alpha    A,B,C,…..
  • i        Lower roman   i, ii, iii, ...
  • I       Upper roman   I,II,III,…

Hosted by www.Geocities.ws

1