google-site-verification=XK9IDkjU7jjUURp5A425iStvbYoDk39UO0ryXDjSqWw HTML Basics-list tag, the description list and attributes used in description list ~ Blog on Computer Tips, Blogging Tips, Mobile Phones, Latest Technology and Topics of Public Interest

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.
http://www.wikigreen.in/2015/07/html-basics-list-tag-description-list.html
HTML Basic-the description list and attributes used in description list

Tags and attributes used in a description list

<dl…</dl>
Opening and closing tags of the description list
<lh>…</lh>
To define the heading of the list(Optional ).
<dt>…</dt>
To define the term(name)
<dd>…</dd>
Used to describe the terms.
Class
This attribute is used to subclass the tag names. It is a list of standard general markup language name tokens and separated by spaces.
Clear
The clear attribute is common to all block like elements. Examples –
clear=all
clear=right
clear=left
clear=”50 pixels”
clear=”50 en”
Compact
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>
<dt>…..<dd>………
<dt>…..<dd>………
??   More ??
</dl>
ID
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.
Lang
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


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

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



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 टिप्पणियाँ:

Unknown ने कहा…

Thanks for sharing these tags. It is very useful to learn basic things of HTML. Web application developers services

Erroraid ने कहा…

Thanks....! Is there any bootstrap tags list?

अनाम ने कहा…

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