0% found this document useful (0 votes)
4 views

HTML PART 5 HTML Lists

to share knowledge for others

Uploaded by

Garedew Balgo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

HTML PART 5 HTML Lists

to share knowledge for others

Uploaded by

Garedew Balgo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

4.6.

HTML Lists
HTML lists are used to present different
types of lists.
The types of lists are known as
Ordered lists,
Unordered lists, and
description lists.
4.6.1 Ordered List
<ol> is the tag that is used to
create ordered/numbered lists.
The <li> tag, on the other hand,
is used to insert individual items
into the list.
4.6.1 Ordered List
By default, Arabic numerals are
used for ordering purposes in
ordered lists.
Using the “type” attribute the
ordering type can be changed to
some other form
HTML ORDERED LIST CODE
<!DOCTYPE html>
<head>
<title>
AREKA HIGH SCHOOL
</title>
</head>
<body>
<h1>NATURAL & SOCIAL GRADE 11 STUDENT</h1>
<ol type="i">
<li>GRADE 11A</li>
<li>GRADE 11B</li>
<li>GRADE 11C</li>
<li>GRADE 11L</li>
<li>GRADE 11M</li>
</ol>
</body>
</html>
4.6.2 Unordered List
<ul> is the tag that is used to create
unordered/bulleted lists.
The <li> tag and the “type” attribute are used
similarly as they are used in ordered lists.
The default bullet type is “disc” .
The “type” attribute is, therefore, used to
change the default type to any of the other
types.
4.6.3 Description List
The <dl> tag is used to define the whole
description.
The <dt> tag, on the other hand, is used to
add the item that is to be described or
defined.
The description or definition is added using
the <dd> tag.

You might also like