In this section, we will learn what <dt> element is and how it works.
What is <dt> Tag in HTML?
HTML <dt> element stands for Define a term and is used to declare a term within the body of HTML <dl> element.
HTML <dt> element sits within the body of HTML <dl> element and usually there’s one HTML <dd> element per <dt> as well.
Note: HTML <dd> element stands for Define a Description and is the place where we describe in details, the term that was declared in the <dt> element.
HTML <dt> Tag Syntax:
<dt> Term </dt>
HTML <dt> Tag Values
Within the body of HTML <dt> element, we set the term that want to describe it later in the <dd> element that comes after this element.
Example: using <dt> tag in HTML
See the Pen using <dt> tag in HTML by Omid Dehghan (@odchan1) on CodePen.
FAQ:
What Does dt Stand for?
HTML <dt> element stands for Define a Term and is the place where we introduce a term so later on describe it in details via HTML <dd> element.