Definition Lists

Certify and Increase Opportunity.
Be
Govt. Certified HTML5 Developer

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.

Get industry recognized certification – Contact us

Menu