Sunday, 1 February 2015

HTML supports two kinds of lists: the ordered list, in which items are numbered sequentially, and the unordered list, in which items are displayed with bullets. They work essentially the same way. First, you see the ordered list tag <ol> or the unordered list tag <ul> to enclose the entire list. Then, within the list you use the list item tag <li> to enclose each item. Here’s an example (Next Fig. shows how these lists are displayed):

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
http://www.w3.org/TR/html4/loose.dtd>
<html>
<head>
<title>vikas dangi web page</title>
</head>
<body>
<ul>
<li>Item 111</li>
<li>Item 222</li>
<li>Item 333</li>
</ul>
<ol>
<li>Item 111</li>
<li>Item 222</li>
<li>Item 333</li>
</ol>
</body>
</html>
Out Put :

0 comments:

Post a Comment