html: definition list

by prettyscripts on 2007-12-05 00:47:44 • Leave a comment »

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.

Your URL will be displayed.
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 />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)