Definition Lists

Contact Us or call 1-877-932-8228
Definition Lists

Definition Lists

Definition Lists are not as widely used as unordered and ordered lists. The example below is taken from the W3C Recommendation . We've modified it to make it XHTML compliant.

Code Sample:

<html lang="en">
<meta charset="UTF-8">
<title>Definition List</title>
	<h1>Definition List</h1>
		<dd>young excitable person who may mature into a 
			<em>Nerd</em> or <em>Geek</em></dd>
		<dd>a clever programmer</dd>
		<dd>technically bright but socially inept person</dd>

Code Explanation

The <dl> element contains the definition list. The <dt> elements are the definition terms and the <dd> elements are the definition descriptions. The screenshot below shows how the code will be rendered.Definition List