HTML Basics-list tag, the description list and attributes used in description list

HTML Basics-list tag, the description list and attributes used in description list-The description list is a list with description of each list item. The description lists are very useful specially while we need to make glossaries which contain a description and a term. Opening tag of description list is <DL> and the closing tag is </DL>. Generally a description list contains a number of terms/ description pairs. To define the term <DT> tag is used and <DD> tag to describe the terms. It is list of items with description.

The HTML description list and attributes

Tags and attributes used in a description list


Opening and closing tags of the description list
To define the heading of the list(Optional ).
To define the term(name)
Used to describe the terms.
This attribute is used to subclass the tag names. It is a list of standard general markup language name tokens and separated by spaces.
The clear attribute is common to all block like elements. Examples –
clear=”50 pixels”
clear=”50 en”
This attribute is used to set compactness of the list. DL Compact will be the opening tag immediately followed by first term – Example –
<DL Compact>
??   More ??
This attribute is used as for target hyperlinks. It is standard general markup language identifier and also used for naming elements in related style sheets.
This is a language attribute and uses two letter language code listed in ISO-639. May be followed by a 2 letter country code and a period.

Example of a description list

<lh>Office Stationery</lh>
<dt>Note Books</dt>
<dd>Mini note books for field staff</dd>
<dd>Ballpoint pens for staff</dd>
<dd>Lead Pencils for draft and drawing section</dd>
<dd>Erasers issued with lead pencils</dd>

Office Stationery
Note Books
 -Mini note books for field staff
-Ballpoint pens for staff
-Lead Pencils for draft and drawing section
-Erasers issued with lead pencils


dl> tag in html, dd> tag in html, dt> tag in html, definition tag in htm, What is description list tag, what is definition list in html, what is definition list in computer, What is the description list in HTML, which of the following tags are used in a description list, What is HTML tag identifies the description of a term in a definition list, What are tags and attributes in HTML,to define a definition list which tag is used,


Special requestPlease let us know through a comment that how our effort was. Do not hesitate to give an dverse opinion, give your opinion impartially. Please subscribe to our blog and like our Facebook page. Subscribe to our YouTube channel “Start with Wikigreen”. Please share it to your friends and beloveds. Thanks a lot for visiting our page.

3 टिप्पणियाँ

Please Donot spam

  1. Hi! This is my first visit to your blog! We
    are a group of volunteers and starting a new initiative in a community in the same niche.
    Your blog provided us useful information to work on. You have
    done a marvellous job!

    Here is my webpage - phen375 how many pills a day

    जवाब देंहटाएं
और नया पुराने