<?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>Euclids Fifth &#187; radio buttons</title>
	<atom:link href="http://www.euclidsfifth.com/tag/radio-buttons/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.euclidsfifth.com</link>
	<description>Development and Design</description>
	<lastBuildDate>Tue, 20 Sep 2011 04:55:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>For Attribute Used With Label Tags</title>
		<link>http://www.euclidsfifth.com/development/for-attribute-used-wit-label-tags/</link>
		<comments>http://www.euclidsfifth.com/development/for-attribute-used-wit-label-tags/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 17:51:51 +0000</pubDate>
		<dc:creator>Kyle Smith</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[for attribute]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[label tag]]></category>
		<category><![CDATA[radio buttons]]></category>
		<category><![CDATA[speech browsers]]></category>

		<guid isPermaLink="false">http://euclidsfifth.com/?p=86</guid>
		<description><![CDATA[There are times that I feel like I am on the cutting edge of development. Web 2.0 and AJAX trickery gives me that feeling all the time. Then there are times where I ask myself, "Why didn't I know about this before?"  That's how I feel about the for attribute for the <label> tag.]]></description>
			<content:encoded><![CDATA[<p>There are times that I feel like I am on the cutting edge of development. Web 2.0 and AJAX trickery gives me that feeling all the time.  Then there are times where I ask myself, &#8220;Why didn&#8217;t I know about this before?&#8221;  That&#8217;s how I feel about the <em>for </em>attribute for the &lt;label&gt; tag.</p>
<p>I found this little gem a few weeks ago, and after my collegues stopped laughing at me, I was told that this was nothing new. The<em> for</em> attribute has been around for a while, and is a helpful bit of HTML.</p>
<p>Found inside of a &lt;label&gt;, and next to an &lt;input&gt;, the <em>for </em>attribute can provide an end user a little bit more functionality from your form.</p>
<p>&lt;label for=&#8221;radioName&#8221;&gt;Label name&lt;/label&gt;&lt;input type=&#8221;radio&#8221; name=&#8221;radioName&#8221; /&gt;</p>
<p>where the <em>for</em> attribute is the same as the <em>id </em>attribute for the corresponding &lt;input&gt;</p>
<blockquote><p><label for="radioName">Label name</label></p>
<input id="radioName" type="radio" /></blockquote>
<p>With the<em> for</em> attribute used, the user can either click on the radio button itself, or the much larger target, the label text.</p>
<p>Using the for attribute will also help those using speech browsers.</p>
<p>I like these small little bits, espcially in a form with a lot of radio buttons.  Having a secondary place for your audience to click might not make the difference on your conversion, but it sure is a nice touch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.euclidsfifth.com/development/for-attribute-used-wit-label-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

