Title: Definition List
URL: http://www.activejump.com/i-3.shtml
Email: webmaster@activejump.com
Introduction
Definition lists are not widely used, but serve a useful purpose. They allow you to write definitions for words, that are
easy to read for your visitors. Below, you will learn how to make a definition list.
Main Tags
To specify a definition list, you need to put in the tag for the definition list. The tag looks like <DL>. The starting
tag is <DL> and the closing tag is </DL>. You will learn how to add list items in the next section.
|
index.html - Notepad |
....<BODY>
<DL>
</DL>
</BODY>....
|
|
The Word
Now, you can put in the word you are going to define. This word however has to go inside another set of tags. The starting tag
is <DT> and the closing tag is </DT>.
|
index.html - Notepad |
....<BODY>
<DL>
<DT> Web Page </DT>
</DL>
</BODY>....
|
|
|
My Homepage - Microsoft Internet Explorer |
- Web Page
|
|
The Definition
Now, you can define the word. The definition however has to go in another set of tags after the set of tags for the word. The
starting tag looks like <DD> and the closing tag is </DD>. The definition goes between this.
|
index.html - Notepad |
....<BODY>
<DL>
<DT> Web Page </DT>
<DD> A text document with HTML tags to
specify formatting and links from the document to other documents and to
graphics and multimedia files.</DD>
</DL>
</BODY>....
|
|
|
My Homepage - Microsoft Internet Explorer |
- Web Page
- A text document with HTML tags to specify formatting and links from the document to other documents and to graphics and multimedia files.
|
|
|