HTML Course

Definition

Go back

You can use dl and dt/dd to make some dictionary-like style for a word and it's definition.

<dl>
    <dt>a word</dt>
    <dd>a definition here</dd>
</dl>

Preview of the code

Usually, it is rendered like this

a word
a definition here

but, on this website I'm using Bootstrap, that is rendering them like this

a word
a definition here