HTML29
Description
Output
Source Code
Description
It shows the use`s of Definition term, H1 and so on... and also add some color to make it nice...........
Output
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
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
Source Code
<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><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>
<sss/HTML>