💢LISTING TAG</>💢
LISTING is used to show important text in
points in HTML documents Listing Elements are used to define the list.
·
It have the following ELEMENTS or TAGs</>
1. UL : unordered list or bullet
list
2. OL : ordered list or number
list
3. LI : stand for LIST item, the data to be written in a list is defined by
the List item Element</>
4. DL : definition list
5. DT : DATA TERM
6. DD : DEFINITION DESCRIPTION
o EXAMPLE: UNORDERED LIST
<html>
<head>
<title></title>
</head>
<body>
<h3>UNORDERED LIST</h3>
<UL>
<li>computer</li>
<li>monitor</li>
<li>mouse</li>
</UL>
<UL type="circle">
<li>computer</li>
<li>monitor</li>
<li>mouse</li>
</UL>
<UL type="square">
<li>computer</li>
<li>monitor</li>
<li>mouse</li>
</UL>
<UL type="disc">
<li>computer</li>
<li>monitor</li>
<li>mouse</li>
</UL>
</body>
</html>
EXAMPLE: ORDERED LIST
<html>
<head>
<title></title>
</head>
<body>
<h3>ORDERED LIST</h3>
<OL>
<li>computer</li>
<li>monitor</li>
<li>mouse</li>
</OL>
<OL type="A">
<li>computer</li>
<li>monitor</li>
<li>mouse</li>
</OL>
<OL type="a">
<li>computer</li>
<li>monitor</li>
<li>mouse</li>
</OL>
<OL type="i">
<li>computer</li>
<li>monitor</li>
<li>mouse</li>
</OL>
<OL type="I">
<li>computer</li>
<li>monitor</li>
<li>mouse</li>
</OL>
</body>
</html>
output:
Example: definition list
<html>
<head>
<title>HTML DEFINITION LIST EXAMPLE</title>
</head>
<body>
<dl>
<dt>HTML</dt>
<dd>HTML stands for hyper text markeup language
and it is widely used to create web pages.</dd>
<dt>CSS</dt>
<dd>CSS stands for cascading style sheet and it is used to style an HTML
documents.</dd>
</dl>
</body>
</html>
output:




0 Comments