Welcome to FixHub, If you need design please contact us

HTML Other Lists

 

HTML Other Lists

HTML also supports description lists.

HTML Description Lists

A description list is a list of terms, with a description of each term.

The <dl> tag defines the description list, the <dt> tag defines the term (name), and the <dd> tag describes each term:

Example

<dl>
  
<dt> Item 1</dt>
  
<dd>- Item 01</dd>
  
<dt> Item 2</dt>
  
<dd>- Item 02</dd>
</dl>


Chapter Summary

  • Use the HTML <dl> element to define a description list
  • Use the HTML <dt> element to define the description term
  • Use the HTML <dd> element to describe the term in a description list

HTML List Tags

Tag

Description

<ul>

Defines an unordered list

<ol>

Defines an ordered list

<li>

Defines a list item

<dl>

Defines a description list

<dt>

Defines a term in a description list

<dd>

Describes the term in a description list

Tags

Post a Comment

0Comments
Post a Comment (0)