Definition Lists

Definition Lists

It is used to provide terms followed by a short text definition or description for them. Definition lists are contained in the opening <dl> tag which contains alternating <dt> and <dd> elements. The content of the <dt> element is the term to be defined. The <dd> element has the definition of the previous <dt> element as shown

HTML code

<dl>

<dt>BA</dt>

<dd>It is Bachelor of Arts</dd>

<dt>MA</dt>

<dd>It is Master of Arts</dd>

</dl>

Browser output

Definition Lists

Each of these elements has the universal and UI event attributes.

Share this post
[social_warfare]
Unordered Lists
Nesting Lists

Get industry recognized certification – Contact us

keyboard_arrow_up