HTML 29

Description

A web page with a definition list that use a define definiton tag to indent the text.

Source Code

html29 <HTML>
<HEAD><TITLE>HTM29. FORMATTING VIA LIST TAGS</TITLE></HEAD>

<BODY>
<H1>Text indention via List tags</H1>
<H4>Here is my Formatted text</H4>
<!--Using the DT tag does not indent text-->
<FONT COLOR = red>Using the DT tag does not indent text</FONT>
<DT>This text is indented by a DT tag
<DT>This text is indented by a DT tag
<!-- Using the DD tag indents text once-->
<BR><FONT COLOR = green>Using the DD indents text once</FONT>
<DD>This text is indented by a DD tag
<DD>This text is indented by a DD tag
<!-- Nesting the UL and the DD tags indents text twice-->
<BR>lt;FONT COLOR = blue>Nesting the UL and the DD tags indents text twice </FONT>
<UL>
<DD>This text is indented by
<DD>a UL tag and a DD tag
<DD>This text is indented by
<DD>a UL tag and a DD tag
</UL>
<!-- Nesting the UL tag 5 times indents text 5 times-->
<P>
<UL><UL><UL><UL><UL>
This text is indented by<BR>
nesting five UL tags
</UL></UL></UL></UL></UL>
</BODY>
</HTML>

Output

HTM29. FORMATTING VIA LIST TAGS

Text indention via List tags

Here is my Formatted text

Using the DT tag does not indent text
This text is indented by a DT tag
This text is indented by a DT tag
Using the DD indents text once
This text is indented by a DD tag
This text is indented by a DD tag
lt;FONT COLOR = blue>Nesting the UL and the DD tags indents text twice
    This text is indented by
    a UL tag and a DD tag
    This text is indented by
    a UL tag and a DD tag

            This text is indented by
            nesting five UL tags