<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ogremindes.net &#187; definition_lists</title>
	<atom:link href="http://ogremindes.net/tag/definition_lists/feed/" rel="self" type="application/rss+xml" />
	<link>http://ogremindes.net</link>
	<description></description>
	<lastBuildDate>Thu, 18 Feb 2010 21:41:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Definition Lists</title>
		<link>http://ogremindes.net/blog/definition-lists/</link>
		<comments>http://ogremindes.net/blog/definition-lists/#comments</comments>
		<pubDate>Tue, 16 May 2006 00:17:07 +0000</pubDate>
		<dc:creator>Ogremindes</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[definition_lists]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://ogremindes.net/definition-lists/</guid>
		<description><![CDATA[Definition lists are probably the least used of the three HTML list types. They are used primarily for   things such as glossaries or other dictionary-type setups, but can be effectively used for anything where you need an expanded description attached to something&#8230;]]></description>
			<content:encoded><![CDATA[<p><img src="http://ogremindes.net/wp-content/uploads/2006/05/gnome-mime-text-html.png" alt="HTML Icon" />
<dl>
<dt>Definition List</dt>
<dd>Definition lists are probably the least used of the three HTML list types. They are used primarily for   things such as glossaries or other dictionary-type setups, but can be effectively used for anything where you need an expanded description attached to something.</dd>
</dl>
<p> Above was an example of a definition list. The words &#8216;Definition List&#8217; was the term, and the indented text was the definition of that term. I will expand on these below.</p>
<h3>Anatomy of the Definition List</h3>
<p>The definition list has three tags:
<dl>
<dt><code>&lt;dl&gt;</code></dt>
<dd>The <code>&lt;dl&gt;</code> tag goes around the outside of the list in the same way as <code>&lt;ul&gt;</code> goes around an entire unordered list.</dd>
<dt><code>&lt;dt&gt;</code></dt>
<dd>The <code>&lt;dt&gt;</code> tag goes around the term that is to be defined</dd>
<dt><code>&lt;dd&gt;</code></dt>
<dd>The <code>&lt;dd&gt;</code> tag goes around the definition for the preceding term</dd>
</dl>
<p>An example of code for a definition list:</p>
<pre>
<code>&lt;dl&gt;
  &lt;dt&gt;
    HTML
  &lt;/dt&gt;
  &lt;dd&gt;
    "Hyper Text Markup Language"
    used for writing web pages.
  &lt;/dd&gt;
  &lt;dt&gt;
    CSS
  &lt;/dt&gt;
  &lt;dd&gt;
    "Cascading Style Sheets"
    used for applying visual effects to web documents.
  &lt;/dd&gt;
&lt;dl&gt;</code>
</pre>
<p>This code has the effect of: </p>
<dl>
<dt>
    HTML
  </dt>
<dd>
    &#8220;Hyper Text Markup Language&#8221; used for writing web pages.
  </dd>
<dt>
    CSS
  </dt>
<dd>
    &#8220;Cascading Style Sheets&#8221; used for applying visual effects to web documents.
  </dd>
<dl>
<h3>Uses for the Definition List</h3>
<p>On my <a href="http://members.ozemail.com.au/~ivison/quest_mkii/links.html" onclick="javascript:urchinTracker ('/outbound/article/members.ozemail.com.au');">Cert 2 website</a>, I used definition lists for lists of links. The &#8216;terms&#8217; are the names of the sites, and the definitions are short descriptions of the same sites.</p>
<p>A perhaps more interesting use is for adding captions to images. I used this technique <a href="http://ogremindes.net/2006/03/07/guru-jim/" >here</a> and <a href="http://ogremindes.net/2006/03/07/osama-jim/" >here</a>, with the image in the term and the caption in the <code>&lt;dd&gt;</code> (Each of the image/caption pairs were put in a separate <code>&lt;dl&gt;</code>, and each of the <code>&lt;dl&gt;</code>s were floated left to get &#8216;em side by side).</p>
<p>Definition lists seem to have a very specific purpose, and that makes them one of the least used HTML tags. However, with some thought and imagination, the <code>&lt;dl&gt;</code> provides a logical and accessible way to link any kind of term to an expanded description.</p>
<p>And remember, most every aspect of its appearance can be altered using CSS.</p>
<ul>
<li>
<a href="http://maxdesign.com.au/presentation/definition/" onclick="javascript:urchinTracker ('/outbound/article/maxdesign.com.au');">MaxDesign: Definition lists &#8211; misused or misunderstood?</a>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ogremindes.net/blog/definition-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

