A definition list is a list of terms, with a definition of each term.
We can create definition list by using the <dl> ………. </dl> with <dt> and <dd> tag.
The <dt> …….. </dt> tag is used to define the term; whrereas, the <dd> tag is used to give the term’s definition.
<dl>
<dt>College</dt>
<dd>A boring place</dd>
<dt>School</dt>
<dd>Learn as much as you can</dd>
<dt>University</dt>
<dd>for fun</dd>
</dl>
Latest posts by vikashdev k (see all)
- PHP OOP: Traits - October 25, 2021
- PHP OOP: Late Static Binding - October 25, 2021
- PHP OOP : Static Members - October 23, 2021