HTM27


BACK

DESCRIPTION

OUTPUT

SOURCE CODE






DESCRIPTION:

     Lists may be nested to represent multiple levels of hierarchies,
meaning a list can be put inside another list. For example, you can put an ordered list within an unordered list in order to create multiple-level list.


..Back to the top..



OUTPUT:


HTM27. A Web page with nested lists

Web page with three nested lists

Here is my three-level nested list


..Back to the top..



SOURCE CODE:



<HTML>
<HEAD><TITLE>HTM27. A Web page with nested lists</TITLE></HEAD>
<BODY>
<H2><B><CENTER><FONT COLOR = �blue�>
Web page with three nested lists
</FONT></CENTER></B></H2>
<! List uses default list symbols>
Here is my three-level nested list
<UL>
<LI>First-level list item 1
<LI>First-level list item 2
<OL>
<LI>Second-level list item 1
<LI>Second-level list item 2
<LI>Second-level list item 3
<UL>
<LI>Third-level list item 1
<LI>Third-level list item 2
<LI>Third-level list item 3
</UL>
<LI>Second-level list item 4
</OL>
<LI>First-level list item 3
<DL>
<DT>Term 1
<DD>Definition Term 1
<DT>Term 2
<DD>Definition Term 2
<DT>Term 3
<DD>Definition Term 3
</DL>
<LI>First-level list item 4
</UL>
</BODY>
</HTML>


..Back to the top..