🌟 Join our Telegram group for exclusive updates! Join Now Get Involved

HTML Definition List

HTML Definition List

In HTML, a definition list (<dl>) is used to group terms (<dt>, definition terms) with their associated definitions (<dd>, definition descriptions). This is useful for presenting glossaries, dictionaries, or any other list where each term is accompanied by an explanation.

Syntax:

        <dl>
  <dt>Term 1</dt>
  <dd>Definition 1</dd>

  <dt>Term 2</dt>
  <dd>Definition 2</dd>

  
</dl>
    

Example:

        <dl>
  <dt>HTML</dt>
  <dd>Hypertext Markup Language, the standard markup language for creating web pages and web applications.</dd>

  <dt>CSS</dt>
  <dd>Cascading Style Sheets, a style sheet language used for describing the look and formatting of a document written in HTML.</dd>
</dl>
    

Output:

HTML
Hypertext Markup Language, the standard markup language for creating web pages and web applications.
CSS
Cascading Style Sheets, a style sheet language used for describing the look and formatting of a document written in HTML.

Cookies Consent

This website uses cookies to ensure you get the best experience on our website.

Cookies Policy

We employ the use of cookies. By accessing BYTEFOXD9, you agreed to use cookies in agreement with the BYTEFOXD9's Privacy Policy.

Most interactive websites use cookies to let us retrieve the user’s details for each visit. Cookies are used by our website to enable the functionality of certain areas to make it easier for people visiting our website. Some of our affiliate/advertising partners may also use cookies.