html: definition list

by prettyscripts on 2007-12-05 00:47:44

html

i always forget the syntax for <dl>, <dt> and <dd> tags, even though it’s obvious – list, terms and definition / description.

here’s the correct syntax:

Code:

<dl>
    <dt>the term</dt>
    <dd>description</dd>
</dl>

Tags: html, list

No feedback yet

Leave a comment


Your email address will not be revealed on this site.
PoorExcellent
note: all comments are moderated. do not spam and do not advertise. only comments relevant to the post will be published.
(Line breaks become <br />)
(For my next comment on this site)
(Allow users to contact me through a message form -- Your email will not be revealed!)