PageTutor.com - HTML Tutorials

Another type of list is a definition list.

aardvark
A burrowing, ant-eating African mammal. And, as everyone knows, the first word in every self-respecting dictionary. (Did you know there's such a thing as an aardwolf?)

Start with this...

<body>
<dl>
</dl>
</body>

Then add a definition title...

<body>
<dl>
<dt>10th Amendment
</dl>
</body>

10th Amendment


And a definition item.

<body>
<dl>
<dt>10th Amendment
<dd>The powers not delegated to the United States by the
    Constitution, nor prohibited by it to the States, are
    reserved to the States respectively, or to the people.
</dl>
</body>

10th Amendment
The powers not delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people.


As a finishing touch I like to make the definition title bold. It's not required, but I think it looks much better that way.

<body>
<dl>
<dt><b>10th Amendment</b>
<dd>The powers not delegated to the United States by the
    Constitution, nor prohibited by it to the States, are
    reserved to the States respectively, or to the people.
</dl>
</body>

10th Amendment
The powers not delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people.

 

<< BACK         NEXT >>
pagetutor.com

QUICK SITE GUIDE

"Live as if you were to die tomorrow. Learn as if you were to live forever."
- Mahatma Gandhi