<DL> Definition Description List in html

<DL>
 <DT>Item 1 or Name 1 </DT>
 <DD>Description of item 1</DD>
 
 <DT>Item 2 or Name 2 </DT>
 <DD>Description of item 2</DD>
 
 <DT>Item 3 or Name 3 </DT>
 <DD>Description of item 3</DD>
</DL>
<DL>
Definition Description List , One pair of tag is allowed.
<DT>
Terms or Name List, Mulitple pairs allowed. Child of <DL>
<DD>
Definition Description of <DT> Multiple pairs allowed. Child of <DT>
Definition lists marks its elements by indentation.

Single Term with multiple descriptions

<DL>
 <DT>Item 1 or Name 1 </DT>
 <DD>Description No 1 of item 1</DD>
  
 <DD>Description No 2 of item 1</DD>
  
 <DD>Description No 3 of item 1</DD>
</DL>

Multiple Term with single descriptions

<DL>
 <DT>Item 1 or Name 1 </DT>
 <DT>Item 2 or Name 2 </DT>
 <DD>Description </DD>
</DL>


Let us go for a practical use of definition list here.

How to reach my home town?
By Rail
Nearest railway station is 10 KM and station name is
By road
Well connected national highway passes through my home town
By Air
Nearest airport is at a distance of 60 KM and ..

Subscribe to our mailing list

* indicates required
Subscribe to plus2net
Your Rating


Google+

         Lists In HTML  | Ordered Lists  | UnOrdered Lists  | Definition Lists

Post Comment This is for short comments only. Use the forum for more discussions.




Subscribe to our mailing list

* indicates required
Subscribe to plus2net
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us
©2000-2017 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer