Html definition list

HTML Definition List Definition and Usage

  • The definition list is not a list of items. This is a list of terms and explanation of the terms. A definition list starts with the <dl> tag. Each definition-list term starts with the &dt> tag. Each definition-list definition starts with the &dd> tag.
  • Inside a definition-list definition <dd> tag you can put paragraphs, images, links, other lists information etc.
  • Definition list is use for create glossary list.
  • <dl> tag is used for definition list. Between <dl> & </dl> you have to enter list of items.
  • <dl> tag is a empty tag. Its use to define definition list. It does not have any attributes.
  • <dl> tag have two tag <dt> and <dd> defined inside tag.
  • <dt> tag is a empty tag. Its use to define definition team. It does not have any attributes. Each list item between <dt> & </dt> tag.
  • <dd> tag is a empty tag. Its use to define definition define. It does not have any attributes.

Definition List using three tags.

  1. <dl> – Defines the start of the list
  2. <dt> – A term
  3. <dd> – Term definition
  4. </dl> – Defines the end of the list

Example : HTML Definition List.

<title> HTML Definition List Examples </title> 
<!-- Now we are using HTML Definition List --> 
<dt>HTML <dd>Hiper Text Markup Language </dd> </dt> 
<dt>URL <dd>Universal Resource Locator </dd> </dt> 
<dt>W3C <dd> World Wide Web Consortium </dd> </dt> 
<dt>WWW <dd> World Wide Web </dd> </dt></dl> 

Output :

Hiper Text Markup Language
Universal Resource Locator
World Wide Web Consortium
World Wide Web

Leave a Reply

Related Posts: You may like

html5 video tag Complete Guide

How to get multiple selected values of select box in php

Responsive contact form html css

How to increase size of radio button


Crypto Currency

PHPKIDA provides free online the best real-time crypto market price, news, predictions, index with graphs & historical data for 2000+ coins including bitcoin, ethereum, & altcoins from major cryptocurrency exchanges.

Visite Tool

Icon Generator

PHPKIDA provides free online icon generator. Our icon generator help you to edit, modify, resize and customize icon for your website and applications. Convert to a shap you like add icon border, you can change icon border color, border size, background color, icon shadow, icons color, icon size in your own way and save it as a png image.

Visite Tool

Youtube Video Downloader

PHPKIDA provides Free online YouTube video downloader to download YouTube videos quickly in MP4, 3GP, and more. Search your video and free fast download youtube videos.

Visite Tool

Sign up for weekly update

Milkshake is almost ready. If you're interested in testing it out, then sign up below to get exclusive access.