untitled
viviti
 HTML Amigo HomeHome
 HTML
   Introduction to HTML
   Using Notepad
   General Form
   Meta Tags
   Text Formatting
   Lists
     Unordered Lists
     Ordered Lists
     Definition Lists
   FTP
   Links
   Tables
   Images/Multimedia
   Frames
   Forms
   Style Sheets
   Javascript
   Web Hosting
   Special Characters
   Glossary
 Help Forums
   HTML Help Forum
Fast connection
   HTML Help Forum
Slow connection
 Extra (Important) Stuff
   Comments
   Link To Us
   Web Tools
   Resources
   The Poll Page


Definition Lists

      So you feel like pulling out the dictionary and laying down some definitions to your not-so-edumacated visitors. Or you just want to seem more edumacated. Either way having a definition list makes you look smart. Let's take a look how we make them, shall we?

The < DL> Tag

      Okay, if you've been following along in these tutorials you probably already know what DL stands for. However, for any latecomers DL stands for definition list. So we tell the computer we want a definition list by coding it like this:

< DL>

</DL>

      Now, let me ask you: what do you need to make a definition. Well, you first need a term that needs defining, right? Then you need a defenition to define that term (hope I didn't lose anyone there). So that's exactly what we are gonna tell the computer.

< DL>
< DT>Term
< DD>Long winded definition
</DL>

So now, we inlcude the < DT> tag, which stands for Definition Term, inside the opening definition list tag. After that tag we place the term we are gonna define. Then we place the < DD>, or Definition Definition tag, and write our nice, smart, witty, long and boring definition after that tag. Notice that these two new tags do not require a closing tag.

The Code

Let's look at the general look of definition lists:

< DL>
< DT>Term
< DD>Long winded definition
< DT>Term
< DD>Long winded definition
</DL>

And here is a real-life example:


The Result

Error 404
This error means the page is not found
HTML
The language used to create websites

Note: By default the term is not in bold. Making it bold help visitors can see the difference between the term and definition.

Again practice those definition lists. I'm sure you will get the hang of them really soon.

Rate Tutorial:
12345
Rated: 0 out of 5
Votes: 0
Free Email Forms from Bravenet.com

Now, you probably have several files on your computer. How do you make the whole world see them? Find out about FTP



© HTML Amigo 2005


Web Hosting · Blog · Guestbooks · Message Forums · Mailing Lists
Easiest Website Builder ever! · Build your own toolbar · Free Talking Character · Email Marketing
powered by a free webtools company bravenet.com