Definition Lists


The definition list tag, or <DL>, can be used to define a definition. It is commonly used to describe items found in a glossary. The definition list is made up of a term, <DT>, and followed by one or more definition descriptions <DD> items. (It is preferable to use <BR> instead of multiple <DD> tags within a <DT>.) The </DT> and </DD> are optional, but recommended so when you look at the code you have an indication of the ending of the definition. Most browsers indent the definition under each t erm, with no blank lines around them.

For example, the following HTML source code:


<DL>
<DT><STRONG>TCP/IP</STRONG>
<DD>Stands for Transmission Control Protocol/Internet Protocol.  
The most prevalent communication protocol found on the Internet. 
It is used to transfer data and communicate between computers, 
especially computers running on the UNIX operating system.
</DL>

Would display this definition list on the user's screen:

TCP/IP
Stands for Transmission Control Protocol/Internet Protocol. The most prevalent communication protocol found on the Internet. It is used to transfer data and communicate between computers, especially computers running on the UNIX operating system.

Remember, a definition list starts with the <DL> tag and ends with the </DL> tag.

I understand definition lists. What is next?


[INDEX] [PREVIOUS] [NEXT PAGE] [CHAPTER 5]

Valid HTML 3.2!