HTML & CSS - HTML LISTS - Description list

Description list

A definition list is the container element for DT and DD elements. The DL element should be used when you want to incorporate a definition of a term in your document.<DT>The term currently being defined in the definition list. This element contains inline data. <DD>The definition description element contains data that describes a definition term. This data may be either inline, or it may be block level.

<!DOCTYPE html>

<h2>Description List</h2>

  <dt>Core java</dt>
  <dd>object oriented language</dd>
  <dd>Structure oriented language</dd>


Description List

Core java
object oriented language
Structure oriented language