-->
Showing posts with label dl tag. Show all posts
Showing posts with label dl tag. Show all posts

HTML Dl ,ol and ul tags

with the help of example, 
->we are going to understand about "dl" tag. with this, we also use dt and dd tag.
->Similarly we are going to understand about ul tag.Additionally we use li tag.
->similarly we are going to use ol tag.additionally use li tag.
->We will also understand about nested list.
-----------------------------------------------------------------------------

1) page to understand about dl tag.
                                                                                    click here

2) page to understand ul tag.

                                                                               click here


3) page to understand ol tag

                                                                                 click here.


4) page to understand nested list.
                          Here if we use one list inside another list then it is called nested nist.

                                                                                    click here
                          
                                                                                     click here (second method)


HTMl page to understand dl tag

<html> <!--is root tag/starting tag-->
<head> <!--used for meta tag-->
<title><!--used for title-->
understanding definition list
</title>
</head>
<body><!-- is container-->
<!--following is description list/definition list (dl)-->
<dl>
<dt>Nepal</dt><!-- dt is description term-->
<dd>KTM</dd><!--description data or data description-->
<dt>USA</dt>
<dd>Washinton D.C.</dd>
<dt>Pakistan</dt>
<dd>Lahore</dd>
</dl><!--closing of description-->
</body>
</html>