A definition list divides a listing into two parts - The main definition term and definition itself. Best explained in an example I think :)
Say for example you have a list of internet related terms, a heading and a description and you want a nice way of presenting it then take a look at the example below of how definition lists work.
|
Here's a smaller example.
And here's the html
<dl>The Tags
<dl> Open the Definition ListThe default value if none specified is the same as <dl dir="ltr"> - left to right. So, <dl dir="rtl"> is right to left :)
The dir attribute is the only attribute that applies to a definition list. Definition lists aren't incremental nor do they produce bullet points but they are very useful for formatting the above types of data.
You might also want to look at this article about nesting lists
I hope you have found my guide to lists useful and not too boring. If you have any comments, good or bad, about this guide then please contact me. All comments are greatly appreciated. Thanks... Andy