top left
The HTML Source Logo


 html
Top Right
    
 Getting StartedHow Do I...TroubleShootingPromotionContact Us
 html
HTML
SEARCH THE SITE
advanced search



CATEGORIES
Home
Getting Started
HTML Cheat Sheet
Webmaster Tools
HTML Help Forum
Color Codes
Link to us









































bottom
HTML HTML HTML HTML
How Do I Create A Definition List?


Definition lists are used for displaying terms and there definitions. For example a glossary or dictionary.

How to do it


First place a <DL> at the beginning of your list.

Next place a <DT> in front of every term in your list.

Then place a <DD> in front of every definition in your list.

Finally place an ending </DL> at the end of your list.

        Example

I want to show definitions of terms on my web page

<DL>
<DT>HTML
<DD>A markup language used to structure text and multimedia documents and to set up hypertext links between documents, used extensively on the World Wide Web.
<DT>HTTP
<DD>A protocol used to request and transmit files, especially WebPages and web page components, over the Internet or other computer network.
<DT>Java
<DD>A trademark used for a programming language designed to develop applications, especially ones for the Internet, that can operate on different platforms.
</DL>

Seeing this in the browser will look like this:
HTML
A markup language used to structure text and multimedia documents and to set up hypertext links between documents, used extensively on the World Wide Web.
HTTP
A protocol used to request and transmit files, especially WebPages and web page components, over the Internet or other computer network.
Java
A trademark used for a programming language designed to develop applications, especially ones for the Internet, that can operate on different platforms.




< BACK







Company   |   Careers   |   Partners   |   Advertising   |   Help
Privacy Policy   |   Trademark Notices   |   User Agreement
© 2001 TheHTMlSource.com, INC. All Rights Reserved.



Site hosted by Angelfire.com: Build your free website today!