List Tag : Description/Definition List in HTML

In HTML a description (or definition) list is a list of terms, with a description of each term. Description list is use for create glossary list. The <dl> tag defines the description list, the <dt> tag defines the term (name), and the <dd> tag describes each term. The <dl> tag have two tag <dt> and <dd> defined inside tag. See the below example :
<!DOCTYPE html>
<html>
   <body>
	<dl>
	    <dt>HTML</dt>
	    <dd>HTML stands for Hypertext Markup Language.</dd>
	    <dt>CSS</dt>
	    <dd>CSS stands for Cascading Style Sheets.</dd>
	    <dt>PHP</dt>
	    <dd>PHP stands for Hypertext Preprocessor.</dd>
	</dl>
   </body>
</html>
Output :


HTML
HTML stands for Hypertext Markup Language.
CSS
CSS stands for Cascading Style Sheets.
PHP
PHP stands for Hypertext Preprocessor.


Next Topic :