



|
Description
A web page with a definition list that use a define definiton tag to indent the text. Source Code <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 Text indention via List tagsHere is my Formatted textUsing the DT tag does not indent textUsing the DD indents text once lt;FONT COLOR = blue>Nesting the UL and the DD tags indents text twice
nesting five UL tags |
  