2. You have a list of your telephone list and black list.
Everyday you have a lot of something to do so you
must have a list for this for this to be in order.
3. List are used to group together related pieces
of information so they are clearly associated
with each other and easy to read .
Lists are good from a structural point of
views as they help create a well-structured,
more accessible , easy-to-maintain
document.
5. It is used to group a set of related items in a
specific order.
An ordered list starts with <ol>tag.
Each list item starts with the <li>tag.
The list items are marked with numbers.
6. TEST CODE RESULT
<html> 1)COFFEE
<body> 2)MILK
<ol>
<li> COFFEE </li>
<li> MILK </li>
</ol>
</body>
</html>
7. It used to group a set of related items in on
particular order.
An unordered lists starts with the <ul>tag.
Each list item starts with the <li> tag.
The lists items are marked with bullets .
8. TEST CODE RESULT
<html> $) COFFEE
<body> $) MILK
<ul>
<li>COFFEE</li>
<li> MILK </li>
</ul>
</body>
</html>
9. A definition list is a list of items , with a
description of each item.
The <dl>tag defines a definition list .
The <dl>tag is used in conjunction with
<dt>(defines the item in the list) and
<dd>(describes the item in the list).
10. TEST CODE RESULT
<html> Coffee
<body> Black hot drink
<dl> Milk
<dt>Coffee</dt> White cold drink
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>
</body>
</html>