- Get link
- X
- Other Apps
Featured Post
- Get link
- X
- Other Apps
HTML LISTS : Normally , for the increase of
readability of a information, lists are used. In html we can make three types
of lists: unordered lists,
ordered lists and definition lists.
in Unordered lists bullet is inserted at the start of an
item.So these lists are called bulleted lists. The Unordered lists is used when
there is no particular order to the items. An Unordered list is written in this
format (given below)-
<ul>
<ul>
1st item
<ul>2nd
item
<ul>
3rd item
</ul>
ordered lists is used when there is number of
order to the items. Ordered list is numbered . ordered list have some syntax
(<ol>,</ol>) .
Practice yourself:
unordered list)
Open your
text editor & open a new file and save the file. (unordered list.html)
Type the
coding as shown in the below------
<html>
<head>
<title> lists <title>
</head>
<body>
<h1>
heading of the table<h1>
<ul>
<li> <b>content</b>
<ul type=”squire”>
<li> create a new document
<li> printing of documents
</ul>
<li> <b>
electronic component</b>
<ul type=”circle”
<li>performance
</ul>
</ul>
</body>
</html>
Ordered list:
<html>
<head>
<title> ordered list
<title>
</head>
<body>
<h1
align=”center”> heading of the table<h1>
<ol
type=”a”>
<li> potato
<li>carrot
<li>musterd oil
</ol>
</body>
</html>