The <dt> element

Short for ‘Definition/Description Term’. An item in a <dl> list which gives a term that should be defined afterwards with a <dd>.

Usage

You can have several <dt> elements, one after the other, giving several terms that all have the same definitions. Each group of terms must be followed by at least one <dd> element. There also needs to be at least one <dt> for each <dd>, so the first thing inside a <dl> list must be one of these term elements.

It usually won't make any difference if there's whitespace before or after a <dt> element, although it might be significant if you're doing some clever styling with things like display: inline-block. If that's the case, you might want to keep any excess whitespace inside the pointy brackets so it won't affect how the browser renders the definition list.

Full list of attributes

All the usual HTML global attributes are available

Further information

The Web Design Academy Contact us

By form

By Phone

+44 (0)113 234 4611

By email

enquiries@thewebdesign.academy

By snail mail

Suite 3 15 South Parade Leeds LS1 5PQ United Kingdom