<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"> <channel><title>Ben Radler Designs</title> <link>http://benradler.com</link> <description>Website Design, SEO, Graphics, Logos, and Blog</description> <lastBuildDate>Wed, 01 Feb 2012 20:49:10 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency><meta name="Framework" content="Kpress" /><meta name="Theme Version" content="1.4" /><meta name="Framework Version" content="1.1" /> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/benradler" /><feedburner:info uri="benradler" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>benradler</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Broke Ass Stuart’s Goddamn Website</title><link>http://feedproxy.google.com/~r/benradler/~3/Omn8MPM8ev8/</link> <comments>http://benradler.com/broke-ass-stuarts-goddamn-website/#comments</comments> <pubDate>Mon, 03 Oct 2011 03:02:32 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[Portfolio item]]></category> <guid isPermaLink="false">http://benradler.com/?p=1295</guid> <description><![CDATA[A contemporary American writer/blogger, Broke Ass Stuart (aka Stuart Schuffman) is best known for his biblical guide book, Broke-Ass Stuart&#8217;s Guide to Living Cheaply in San Francisco. His travel documentary television series Young Broke &#038; Beautiful debuted in June 2011 on IFC. Visit Site Stuart&#8217;s site is a &#8220;network&#8221; (multi-blog) WordPress installation, which makes linking [...]]]></description> <content:encoded><![CDATA[<p>A contemporary American writer/blogger, Broke Ass Stuart (aka Stuart Schuffman) is best known for his biblical guide book, Broke-Ass Stuart&#8217;s Guide to Living Cheaply in San Francisco.  His travel documentary television series Young Broke &#038; Beautiful debuted in June 2011 on IFC.</p><p><a
href="http://brokeassstuart.com">Visit Site</a></p><p><span
id="more-1295"></span></p><p>Stuart&#8217;s site is a &#8220;network&#8221; (multi-blog) WordPress installation, which makes linking separate blogs together a snap!</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/9z166O79xF-5mPsMqFmK332R68s/0/da"><img src="http://feedads.g.doubleclick.net/~a/9z166O79xF-5mPsMqFmK332R68s/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/9z166O79xF-5mPsMqFmK332R68s/1/da"><img src="http://feedads.g.doubleclick.net/~a/9z166O79xF-5mPsMqFmK332R68s/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/benradler/~4/Omn8MPM8ev8" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://benradler.com/broke-ass-stuarts-goddamn-website/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://benradler.com/broke-ass-stuarts-goddamn-website/</feedburner:origLink></item> <item><title /><link>http://feedproxy.google.com/~r/benradler/~3/UWg3TQDfiuI/</link> <comments>http://benradler.com/happylight-flashlight-led/#comments</comments> <pubDate>Thu, 22 Sep 2011 22:28:52 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[iOS Portfolio Item]]></category> <guid isPermaLink="false">http://benradler.com/?p=1247</guid> <description><![CDATA[Happylight Flashlight LED]]></description> <content:encoded><![CDATA[<p><a
href="http://bit.ly/happylightled"><img
src="http://benradler.com/wp-content/uploads/2011/09/happylighticon-300x300.png" alt="" title="happylighticon" width="280" height="280" class="alignnone size-medium wp-image-1253" /></a></p><h3 style="text-align:center; margin-top:0;"><a
style="text-align:center" href="http://bit.ly/happylightled">Happylight Flashlight LED</a></h3> 
<p><a href="http://feedads.g.doubleclick.net/~a/lh9MdC2DCoqYmTqkI9tk4sLyQJM/0/da"><img src="http://feedads.g.doubleclick.net/~a/lh9MdC2DCoqYmTqkI9tk4sLyQJM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/lh9MdC2DCoqYmTqkI9tk4sLyQJM/1/da"><img src="http://feedads.g.doubleclick.net/~a/lh9MdC2DCoqYmTqkI9tk4sLyQJM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/benradler/~4/UWg3TQDfiuI" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://benradler.com/happylight-flashlight-led/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://benradler.com/happylight-flashlight-led/</feedburner:origLink></item> <item><title /><link>http://feedproxy.google.com/~r/benradler/~3/RkE-4jiA76s/</link> <comments>http://benradler.com/isquares/#comments</comments> <pubDate>Thu, 22 Sep 2011 22:26:20 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[iOS Portfolio Item]]></category> <guid isPermaLink="false">http://benradler.com/?p=1245</guid> <description><![CDATA[iSquares! Official iSquares Website]]></description> <content:encoded><![CDATA[<p><a
href="http://bit.ly/isquares"><img
class="alignnone size-medium wp-image-1253" title="isquaresicon" src="http://benradler.com/wp-content/uploads/2011/09/isquaresicon-300x300.png" alt="" width="280" height="280" /></a></p><h3 style="text-align: center; margin-top: 0;"><a
style="text-align: center;" href="http://bit.ly/isquares">iSquares!</a></h3><p
style="text-align: center;"><a
style="text-align: center;" href="http://isquares.benradler.com">Official iSquares Website</a></p> 
<p><a href="http://feedads.g.doubleclick.net/~a/d113uDZb_vRcv_1IoBkYNIp370E/0/da"><img src="http://feedads.g.doubleclick.net/~a/d113uDZb_vRcv_1IoBkYNIp370E/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/d113uDZb_vRcv_1IoBkYNIp370E/1/da"><img src="http://feedads.g.doubleclick.net/~a/d113uDZb_vRcv_1IoBkYNIp370E/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/benradler/~4/RkE-4jiA76s" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://benradler.com/isquares/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://benradler.com/isquares/</feedburner:origLink></item> <item><title>Mac OS X Tutorial – How To Fix “The operation can’t be completed because the item “***” is in use.” error</title><link>http://feedproxy.google.com/~r/benradler/~3/tNO6LAbSiVw/</link> <comments>http://benradler.com/mac-os-x-tutorial-how-to-fix-the-operation-can%e2%80%99t-be-completed-because-the-item-%e2%80%9c%e2%80%9d-is-in-use-error/#comments</comments> <pubDate>Sun, 24 Jul 2011 22:16:05 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[Mac OS X]]></category> <category><![CDATA[10.5]]></category> <category><![CDATA[10.6]]></category> <category><![CDATA[10.7]]></category> <category><![CDATA[cant]]></category> <category><![CDATA[empty]]></category> <category><![CDATA[leopard]]></category> <category><![CDATA[lion]]></category> <category><![CDATA[mac]]></category> <category><![CDATA[os x]]></category> <category><![CDATA[osx]]></category> <category><![CDATA[snow leopard]]></category> <category><![CDATA[trash]]></category> <category><![CDATA[tutorial]]></category> <guid isPermaLink="false">http://benradler.com/?p=1231</guid> <description><![CDATA[Ever gotten this pestering error when trying to empty the trash in Mac OS X? I even see this behavior persistent in OS X Lion 10.7, the newest release. I believe it has something to do with Finder&#8217;s quicklook function. While relaunching the Finder is always a solution, I wanted to present this terminal based [...]]]></description> <content:encoded><![CDATA[<p>Ever gotten this pestering error when trying to empty the trash in Mac OS X? I even see this behavior persistent in OS X Lion 10.7, the newest release. I believe it has something to do with Finder&#8217;s quicklook function. While relaunching the Finder is always a solution, I wanted to present this terminal based solution as a faster alternative. <span
id="more-1231"></span></p><p>So, see this error?<br
/> <a
href="http://benradler.com/wp-content/uploads/2011/07/rmrf-tutorial.png"><img
class="alignnone size-full wp-image-1233" title="rmrf-tutorial" src="http://benradler.com/wp-content/uploads/2011/07/rmrf-tutorial.png" alt="" width="513" height="214" /></a></p><p>All you&#8217;ve gotta do is open up Terminal.app (click Spotlight menu at the top right of your screen and type in terminal, press enter), and type in the following:<br
/> <code>sudo rm -rf </code><br
/> <a
href="http://benradler.com/wp-content/uploads/2011/07/rmrf-tutorial-1.png"><img
class="alignnone size-full wp-image-1232" title="rmrf-tutorial-1" src="http://benradler.com/wp-content/uploads/2011/07/rmrf-tutorial-1.png" alt="" width="604" height="502" /></a></p><p>Make sure you type a space after the &#8220;-rf&#8221;, and then click and drag the files in the trash INTO the terminal window. The path to the file will automatically be added. Press enter.  The files are now deleted!<br
/> <a
href="http://benradler.com/wp-content/uploads/2011/07/rmrf-tutorial-2.png"><img
class="alignnone size-full wp-image-1234" title="rmrf-tutorial-2" src="http://benradler.com/wp-content/uploads/2011/07/rmrf-tutorial-2.png" alt="" width="604" height="502" /></a></p><p>Please comment below if this solution worked for you!</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/mnGn4bXguSD_aEI821MKLpPHGAk/0/da"><img src="http://feedads.g.doubleclick.net/~a/mnGn4bXguSD_aEI821MKLpPHGAk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/mnGn4bXguSD_aEI821MKLpPHGAk/1/da"><img src="http://feedads.g.doubleclick.net/~a/mnGn4bXguSD_aEI821MKLpPHGAk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/benradler/~4/tNO6LAbSiVw" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://benradler.com/mac-os-x-tutorial-how-to-fix-the-operation-can%e2%80%99t-be-completed-because-the-item-%e2%80%9c%e2%80%9d-is-in-use-error/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://benradler.com/mac-os-x-tutorial-how-to-fix-the-operation-can%e2%80%99t-be-completed-because-the-item-%e2%80%9c%e2%80%9d-is-in-use-error/</feedburner:origLink></item> <item><title>Business Cards Wireframe Template for Printing</title><link>http://feedproxy.google.com/~r/benradler/~3/3wiTwuEOP-A/</link> <comments>http://benradler.com/business-cards-wireframe-template-for-printing/#comments</comments> <pubDate>Mon, 11 Jul 2011 21:00:49 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[Design]]></category> <guid isPermaLink="false">http://benradler.com/?p=1222</guid> <description><![CDATA[I&#8217;ve been meaning to write this post for a while now, many apologies for the delay. I recently relocated to San Francisco, and with the never-ending supply of networking events, hacking conferences, and more, I inevitably ran out of business cards and decided it was time for a new design. Rather than writing a complex [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been meaning to write this post for a while now, many apologies for the delay. I recently relocated to San Francisco, and with the never-ending supply of <a
href="http://www.meetup.com/cities/us/94116/">networking events</a>, <a
href="http://superhappydevhouse.org/w/page/16345504/FrontPage">hacking conferences</a>, and more, I inevitably ran out of business cards and decided it was time for a new design.</p><p>Rather than writing a complex tutorial for how to create a print-ready wireframe for your cards, I thought I&#8217;d be nice and just give you the files. So, without further adieu, here are Adobe Illustrator, Adobe Photoshop, and PDF versions of the wireframe I used:</p><p><a
title="Download Business Card Wireframe Templates" href="http://benradler.com/wp-content/uploads/2011/07/business-card-wireframes.zip">Download Business Card Wireframe Templates</a></p><p>If you use these templates, or they help you in any way, please comment below and let me know what you used them for!  Sharing is caring!</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/JtzGtNzSASsjwXeEw1CdCVLkHu0/0/da"><img src="http://feedads.g.doubleclick.net/~a/JtzGtNzSASsjwXeEw1CdCVLkHu0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/JtzGtNzSASsjwXeEw1CdCVLkHu0/1/da"><img src="http://feedads.g.doubleclick.net/~a/JtzGtNzSASsjwXeEw1CdCVLkHu0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/benradler/~4/3wiTwuEOP-A" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://benradler.com/business-cards-wireframe-template-for-printing/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://benradler.com/business-cards-wireframe-template-for-printing/</feedburner:origLink></item> <item><title>CapriMD</title><link>http://feedproxy.google.com/~r/benradler/~3/NlCheb0QZRA/</link> <comments>http://benradler.com/caprimd/#comments</comments> <pubDate>Thu, 07 Apr 2011 01:17:19 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[Portfolio item]]></category> <guid isPermaLink="false">http://benradler.com/?p=1069</guid> <description><![CDATA[CapriMD products restore beauty and promote skin health through carefully selected ingredients. Developed by well-known dermatologist Randolph S. Capri, MD, each product contains premium ingredients to accomplish their desired effect. Visit Site We took a completely new approach to CapriMD&#8217;s website, and redesigned it from the ground up.]]></description> <content:encoded><![CDATA[<p>CapriMD products restore beauty and promote skin health through carefully selected ingredients.  Developed by well-known dermatologist Randolph S. Capri, MD, each product contains premium ingredients to accomplish their desired effect.</p><p><a
href="http://caprimd.com">Visit Site</a></p><p><span
id="more-1069"></span></p><p>We took a completely new approach to CapriMD&#8217;s website, and redesigned it from the ground up.</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/ygq4kAkLC1xq5484Rf8Rr1Xw9lU/0/da"><img src="http://feedads.g.doubleclick.net/~a/ygq4kAkLC1xq5484Rf8Rr1Xw9lU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ygq4kAkLC1xq5484Rf8Rr1Xw9lU/1/da"><img src="http://feedads.g.doubleclick.net/~a/ygq4kAkLC1xq5484Rf8Rr1Xw9lU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/benradler/~4/NlCheb0QZRA" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://benradler.com/caprimd/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://benradler.com/caprimd/</feedburner:origLink></item> <item><title>SEO Guide – The Ultimate Checklist</title><link>http://feedproxy.google.com/~r/benradler/~3/aqNSgnIb49Q/</link> <comments>http://benradler.com/seo-guide-ultimate-checklist/#comments</comments> <pubDate>Fri, 01 Apr 2011 03:34:22 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[html]]></category> <category><![CDATA[SEO Guide]]></category> <category><![CDATA[Website Design Tutorials]]></category> <guid isPermaLink="false">http://benradler.com/?p=1042</guid> <description><![CDATA[Like many people in the web development and design industry, search engine optimization (SEO for short) has become synonymous with creating your website. SEO is a complicated, intangible bit of web design that can really get novices and developers alike quite a headache. It is very important not to get caught off-guard by SEO companies [...]]]></description> <content:encoded><![CDATA[<p>Like many people in the web development and design industry, search engine optimization (SEO for short) has become synonymous with creating your website.</p><p>SEO is a complicated, intangible bit of web design that can really get novices and developers alike quite a headache.  It is very important not to get caught off-guard by SEO companies who claim to be able to position you at the first page of Google or other search engines for any keyword of your choice. Rest assured that if someone guarantees you ANYTHING SEO-related, that they are ultimately full of shit.</p><p>SEO is not guarantee-able mainly due to the fact that Google and other search engines do not explain how their ranking algorithms work, and therefore, no one really knows what the best tactics are for getting your site ranked.</p><p>That being said, there are many things we do know, since <a
href="http://www.google.com/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CCYQFjAA&amp;url=http%3A%2F%2Fwww.google.com%2Fwebmasters%2Fdocs%2Fsearch-engine-optimization-starter-guide.pdf&amp;rct=j&amp;q=seo%20starter%20guide&amp;ei=r0eVTbD5INTQiAKPnYWdCQ&amp;usg=AFQjCNEMj8KHxhxQz9cMLoMxMDiLdrAbJw&amp;sig2=wLBCv3WMuT0_kmqz_AyfoQ">Google offers an SEO starters guide</a>, and <a
href="http://www.google.com/support/webmasters/bin/answer.py?answer=35291&amp;cbid=1b4abmn56wk50&amp;src=cb&amp;lev=%20index">this particularly useful webpage</a> and many people have performed experiments to help back up claims that Google tends to avoid discussing.</p><p>The following is a bullet list of two major facets of SEO &#8212; on-site, and off-site optimization.<span
id="more-1042"></span></p><h2>On Site SEO</h2><p>On-site optimization refers to anything that can be altered in your actual HTML markup or other code on the website in question.</p><ul><li><strong>Submit websites to search engines</strong> &#8211; This one may seem to be a &#8220;duh&#8221; item in the list, but you&#8217;d be surprised how often even seasoned developers neglect this simple step.<ul><li><a
href="http://www.google.com/addurl/">Google</a></li><li><a
href="http://www.bing.com/docs/submit.aspx">Bing</a></li><li><a
href="http://search.yahoo.com/info/submit.html">Yahoo</a></li></ul></li><li><strong>Doctype</strong> &#8211; Declaring a doctype helps browsers render your webpage in standards mode, and can keep legacy browsers (*COUGH IE COUGH*) out of quirksmode.  If your browser isn&#8217;t rendering your page as you expect, the first thing you should always check is if you have declared a doctype or not.  For more info about doctypes, <a
href="http://www.w3schools.com/tags/tag_DOCTYPE.asp">check out W3.org</a>.  If you ever have any question, a good route is to start by using the HTML5 standard doctype:</li><li><strong>Page Title</strong> &#8211; ensure it contains 10-70 characters, is explicit, and contains your most important keywords.  Also be sure each page has a unique title</li><li><strong>Meta description</strong> &#8211; ensure it contains beteween 70-160 characters, is explicit, and contains your most important keywords.  Be sure each page has a unique meta description.</li><li><strong>Meta keywords</strong> &#8211; while this bit of meta information has been proven to have very little effect on your rankings, it is still a good idea to place your most important keywords here, separated by commas.</li><li><strong>Meta Language</strong> &#8211; Using the meta language tag you can specify what the default language of the website is.  Generally a good idea, especially if you have a multi-language website. <a
href="http://en.wikipedia.org/wiki/Meta_element#The_language_attribute">For more information on meta language tags, click here.</a></li><li><strong>Encoding</strong> &#8211; It is a good idea to declare what type of encoding is using in your file &#8212; this can help with issues rendering special characters.  Example:</li><li><strong>Heading tags</strong> &#8211; H1 tags should always contain the most important information on a page, so ensure these contain relevant keywords as well.  Never use the same heading tag when it is subordinate to itself &#8212; in other words, there should never be an H1 tag nested below another H1 tag.</li><li><strong>Images</strong> &#8211; Ensure all images have an &#8220;alt&#8221; attribute, and that this attribute contains keywords that describe the image.  Remember that search engines view your source code, and cannot see your images &#8212; this is the only place (other than the image title) where you can describe the contents of the image.  On a similar note, try not to use too many images as a general rule of thumb.</li><li><strong>Text to HTML ratio</strong> &#8211; General rule of thumb is to keep this over 15%.</li><li><strong>Frames and Flash</strong> &#8211; It&#8217;s best to avoid both iFrames and Flash, as they will not be counted towards your SEO rankings.  Much like images, iFrames and Flash content cannot be read by a search engine.</li><li><strong>WWW Resolve</strong> &#8211; set up a redirect using your web server&#8217;s .htaccess file.  You can do this with the following code:<div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;">RewriteEngine On
RewriteCond %{HTTP_HOST} ^mydomain.com
RewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]</pre></div></div></li><li><strong>Robots.txt</strong> &#8211; generate a robots.txt file (Web Robots Pages) which tells search engine bots, crawlers and spiders which directories it should not index.  This can be useful in hiding duplicate content (beta versions of your website), or other directories that you generally don&#8217;t want showing up in search engine results.  For more information on how to generate a robots.txt file, visit http://robotstxt.org</li><li><strong>XML Sitemap</strong> &#8211; always create and update an XML sitemap.  Sitemap contains a list of all pages you want indexed on your website (sort of like the opposite of robots.txt), and can provide additional information to the spiders such as when the last changes were made or how important each page is.  This information helps search engines rank you more accurately. Your XML sitemap should reside in the root directory of your website, and should be automatically submitted to Google and Yahoo!/Bing.  You will need to set up webmaster tools and site explorer accounts for this.  You can do that here:<ul><li><a
href="https://www.google.com/webmasters/tools/">Google Webmaster Tools</a></li><li><a
href="http://www.bing.com/webmaster">Bing Webmaster Tools</a></li><li><a
href="http://siteexplorer.search.yahoo.com/">Yahoo Site Explorer</a></li></ul><p>Keep in mind that some content management systems like WordPress have plugins that automatically generate sitemaps and submit them to search engines.</li><li><strong>W3C Validity</strong> &#8211; You should be doing this already, but having less or no errors in your markup can improve SEO as well.  Be sure to check your websites in the <a
href="validator.w3.org">W3C Markup Validator</a>.</li></ul><p>&nbsp;</p><h2>Off Site SEO</h2><p>Off site optimization can prove to be a bit trickier, since it is less in your control.  Essentially, one might think about off-site SEO as a popularity contest &#8212; the more links (or friends) you have pointing to your website, the more popular you are when a search engine goes to look for relevant webpages.</p><ul><li><strong>PageRank</strong> &#8211; though its effectiveness is widely questioned, PageRank is still an important factor &#8212; it is a link analysis algorithm used primarily by Google in determining the authority of websites over one another.  For more information about the way pagerank works, read the <a
href="http://en.wikipedia.org/wiki/PageRank">PageRank Wikipedia page</a>.  To check the pagerank of a specific page, you can use a PageRank checker such as <a
href="http://prchecker.info">prchecker.info</a>.</li><li><strong>Last Crawl Date</strong> &#8211; the last date crawled is generally a good indicator of how useful your site appears to search engines.  You want to make sure your site is being indexed frequently (because you&#8217;re posting unique content at least a few times a month already, right?).  You can set custom page crawler rates on the search engine&#8217;s Webmaster Tools (Google or Bing) or Site Explorer (Yahoo).</li><li><strong>Backlinks</strong> &#8211; backlinks are of utmost importance.  As explained above, the more backlinks you have pointing to your website, the more authority your website has for that keyword.  Keep this in mind when forming <code><a></a></code> tags.  Most importantly is to consider the <strong>QUALITY</strong> of these backlinks.  You don&#8217;t want overtly spammy-looking pages, or pages with thousands of other links on them creating backlinks to your website.  In fact, you can rest assured if you generate spammy backlinks, Google will recognize this as bad in your favor.  Try to generate a diverse set of backlinks to your site &#8212; some from .edu/.gov, some normal links from other bloggers, corporate sites, Wikipedia, Twitter, Facebook, Linked In, forums, groups, etc.  You get the idea.<ul><li><strong>.edu backlinks</strong> &#8211; .edu backlinks are generally only obtainable by an educational institution.  As a result, any backlinks pointing from .edu domains are given extra authority for a keyword.</li><li><strong>.gov backlinks</strong> &#8211; same as with .edu domains.</li></ul></li><li><strong>Directories</strong> &#8211; You should submit your website to relevant, up-to-date directories. <a
href="http://dmoz.org">Dmoz</a> (directory.mozilla.org) is a good place to begin.</li><li><strong>Social Media</strong> &#8211; Your presence on social media sites, and the impact of your postings there are now <a
href="http://www.youtube.com/watch?v=ofhwPC-5Ub4&amp;feature=channel_video_title">acknowledged directly by Matt Cutts as having more effect on SEO rankings</a>.</li></ul><h2>Other Interesting Links</h2><ul><li><a
href="http://websitegrader.com">Hubspot Website Grader</a> &#8211; Get an arbitrary but useful SEO score for your site.</li><li><a
href="http://backlinkwatch.com">Backlinkwatch.com</a> &#8211; Check the number of backlinks to your site.</li><li><a
href="http://spyfu.com">SpyFu.com</a> &#8211; See keywords you organically rank for.</li><li><a
href="http://compete.com">Compete.com</a> &#8211; See statistics about hits and traffic to websites.</li></ul> 
<p><a href="http://feedads.g.doubleclick.net/~a/tFrKasmhOSV8Xejd7OWzCkGLBZc/0/da"><img src="http://feedads.g.doubleclick.net/~a/tFrKasmhOSV8Xejd7OWzCkGLBZc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/tFrKasmhOSV8Xejd7OWzCkGLBZc/1/da"><img src="http://feedads.g.doubleclick.net/~a/tFrKasmhOSV8Xejd7OWzCkGLBZc/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/benradler/~4/aqNSgnIb49Q" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://benradler.com/seo-guide-ultimate-checklist/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://benradler.com/seo-guide-ultimate-checklist/</feedburner:origLink></item> <item><title>How To Use PHP Useragent Detection and Internet Explorer Conditional Comments For Custom Styles and Functionality on Websites</title><link>http://feedproxy.google.com/~r/benradler/~3/vq7BXguv36w/</link> <comments>http://benradler.com/how-to-use-php-useragent-detection-and-internet-explorer-conditional-statements-for-custom-styles-and-functionality-on-websites/#comments</comments> <pubDate>Thu, 10 Mar 2011 21:53:46 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[css]]></category> <category><![CDATA[html]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[$_SERVER]]></category> <category><![CDATA[coding]]></category> <category><![CDATA[conditional statements]]></category> <category><![CDATA[internet explorer]]></category> <category><![CDATA[php]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[useragent]]></category> <category><![CDATA[web dev]]></category> <category><![CDATA[website design]]></category> <category><![CDATA[website development]]></category> <guid isPermaLink="false">http://benradler.com/?p=999</guid> <description><![CDATA[So, as I&#8217;ve been developing more and more websites as of late I have come across an unimaginable number of cross-browser compatibility issues. Keep in mind that the best solution is always to solve issues with CSS styles that work properly across multiple browsers. However, as a web developer, there are times when you absolutely [...]]]></description> <content:encoded><![CDATA[<p>So, as I&#8217;ve been developing more and more websites as of late I have come across an unimaginable number of cross-browser compatibility issues. Keep in mind that the best solution is <strong>always</strong> to solve issues with CSS styles that work properly across multiple browsers.</p><p>However, as a web developer, there are times when you absolutely have to write specific CSS styles for certain browsers.  In this article, I will cover two different methods of doing this.</p><h3>Useragent Detection using PHP</h3><p>This first method requires that your website is built using PHP technology.  I am testing this on PHP5, but the same idea should apply to PHP4. The code that I use here is <a
href="http://php.net/manual/en/reserved.variables.server.php">documented originally on php.net</a> if you want more information, but my example will take you through everything you need to know. Keep in mind that my examples deal mainly with CSS, but this code can be re-factored to work in a great many scenarios, such as when you want different functionality (can anyone say replacing flash elements with pure HTML/JS on iPad/iPhone?!).</p><p>First, let&#8217;s look at the <code>$_SERVER</code> variable. <code>$_SERVER</code> is a global array that contains a wealth of information created by the web server, such as headers, paths, and script locations.  Keep in mind that there is no guarantee that any old server will have any data in this variable, so be careful with this!  The bit of data we care about in this array is <code>$_SERVER['HTTP_USER_AGENT']</code>.  Below is an example of what a useragent looks like:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">Mozilla<span style="color: #339933;">/</span><span style="color:#800080;">5.0</span> <span style="color: #009900;">&#40;</span>Macintosh<span style="color: #339933;">;</span> U<span style="color: #339933;">;</span> Intel Mac OS X <span style="color: #cc66cc;">10</span>_6_6<span style="color: #339933;">;</span> en<span style="color: #339933;">-</span>US<span style="color: #009900;">&#41;</span> AppleWebKit<span style="color: #339933;">/</span><span style="color:#800080;">534.13</span> <span style="color: #009900;">&#40;</span>KHTML<span style="color: #339933;">,</span> like Gecko<span style="color: #009900;">&#41;</span> Chrome<span style="color: #339933;">/</span>9<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>597<span style="color: #339933;">.</span>102 Safari<span style="color: #339933;">/</span><span style="color:#800080;">534.13</span></pre></div></div><p>As you can see, there is a great deal of information contained in the useragent string that can be parsed to determine what browser and operating system combination is being used by your visitor.  The way I go about parsing the useragent is using the <code>strpos()</code> function.</p><p><span
id="more-999"></span></p><p>For example, if you wanted to see if the visitor was using a Mac, you could write:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$theUA</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_USER_AGENT'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$theUA</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'macintosh'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;link rel='stylesheet' id='mac-css'  href='css/mac.css' type='text/css' media='screen' /&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div><p>A more complex example might be to differentiate between Internet Explorer, Chrome, Firefox, and Safari.  Keep in mind you can combine these using the <code>&#038;&#038;</code> and <code>||</code> (AND and OR) operators:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$theUA</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_USER_AGENT'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$theUA</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'msie'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;link rel='stylesheet' id='ie-css'  href='css/ie.css' type='text/css' media='screen' /&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$theUA</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'chrome'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;link rel='stylesheet' id='chrome-css'  href='css/chrome.css' type='text/css' media='screen' /&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$theUA</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'firefox'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$theUA</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'macintosh'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;link rel='stylesheet' id='firefox-macintosh-css'  href='css/firefox-macintosh.css' type='text/css' media='screen' /&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$theUA</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'firefox'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$theUA</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'windows'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;link rel='stylesheet' id='firefox-windows-css'  href='css/firefox-window.css' type='text/css' media='screen' /&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$theUA</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'safari'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;link rel='stylesheet' id='safari-css'  href='css/safari.css' type='text/css' media='screen' /&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div><p>You can even go further and do mobile browser detection to send mobile phone users to a completely different, mobile-optimized website!  Sorry for the long code, you can copy this same bit from <a
href="http://detectmobilebrowser.com/">detectmobilebrowser.com</a></p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$useragent</span><span style="color: #339933;">=</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_USER_AGENT'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/android|avantgo|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i'</span><span style="color: #339933;">,</span><span style="color: #000088;">$useragent</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">||</span>preg_match<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|xda(\-|2|g)|yas\-|your|zeto|zte\-/i'</span><span style="color: #339933;">,</span><span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$useragent</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Location: m.yoursite.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div></p><h3>Internet Explorer Conditional Comments</h3><p>The second method of writing browser-specific CSS styles will only work in <a
href="http://ie6countdown.com/">Internet Explorer</a>, but is more widely used than the useragent scraping from the previous example as it will work no matter what version of Internet Explorer the visitor is using (and since MOST of these issues tend to occur in IE anyways!).  Microsoft has documented conditional comments in detail <a
href="http://msdn.microsoft.com/en-us/library/ms537512(v=vs.85).aspx">here</a>.</p><p>For a crash course, IE conditional comments are comprised of a feature, operator, and/or a value.  For feature, you can match use IE to match any version of IE, IE 7 to match a specific version of IE, or even an edition of Windows.  For operators, greater than (or equal to) is <code>gt</code> or <code>gte</code>, and less than (or equal to) operators is <code>lt</code> or <code>lte</code>. You can also use and <code>(&#038;)</code> or <code>(|)</code> and not <code>(!)</code> operators if necessary.  If you want to match a specific version you don&#8217;t need to specify an operator.  If you wanted to target IE6 and IE7 specifically, you would use the following:</p><div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!--[if (IE 7)|(IE6) ]&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;link rel='stylesheet' id='ie-css' href='css/ie.css' type='text/css' media='screen' /&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;![endif]--&gt;</span></pre></div></div><p>I hope this information was useful!  Click the Tweet or Like buttons below to share the knowledge with others! Have you used useragent detection or IE conditional comments in your websites?  Have you improved on my methods, or had questions about anything I said?  Ask or tell me about it in the comments below</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/X4IYGD2pDCcL_r8_kRx7nwfsSWY/0/da"><img src="http://feedads.g.doubleclick.net/~a/X4IYGD2pDCcL_r8_kRx7nwfsSWY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/X4IYGD2pDCcL_r8_kRx7nwfsSWY/1/da"><img src="http://feedads.g.doubleclick.net/~a/X4IYGD2pDCcL_r8_kRx7nwfsSWY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/benradler/~4/vq7BXguv36w" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://benradler.com/how-to-use-php-useragent-detection-and-internet-explorer-conditional-statements-for-custom-styles-and-functionality-on-websites/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://benradler.com/how-to-use-php-useragent-detection-and-internet-explorer-conditional-statements-for-custom-styles-and-functionality-on-websites/</feedburner:origLink></item> <item><title>How to Properly Use HTML Input Elements with Label Elements in Forms</title><link>http://feedproxy.google.com/~r/benradler/~3/rNH1vPX8wpc/</link> <comments>http://benradler.com/how-to-properly-use-html-input-elements-with-label-elements-in-forms/#comments</comments> <pubDate>Tue, 08 Mar 2011 05:54:43 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[css]]></category> <category><![CDATA[html]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[form element]]></category> <category><![CDATA[html5]]></category> <category><![CDATA[input element]]></category> <category><![CDATA[label element]]></category> <guid isPermaLink="false">http://benradler.com/?p=973</guid> <description><![CDATA[I still can&#8217;t believe how many big-name websites neglect to use this wonderful bit of markup! Read this, and make it a habit. It&#8217;s soo easy! Okay, let&#8217;s say we&#8217;re marking up a contact form where visitors enter a bit of personal information, such as their name, sex, and which products they&#8217;re interested in. I&#8217;ll [...]]]></description> <content:encoded><![CDATA[<p>I still can&#8217;t believe how many big-name websites neglect to use this wonderful bit of markup!  Read this, and make it a habit.  It&#8217;s soo easy!</p><p>Okay, let&#8217;s say we&#8217;re marking up a contact form where visitors enter a bit of personal information, such as their name, sex, and which products they&#8217;re interested in.  I&#8217;ll keep this stupid simple: when you&#8217;re creating this form, there is a proper place to put the labels for each input element.  It&#8217;s called the <strong>label element</strong>.  Be sure to use the label element&#8217;s &#8220;for&#8221; property, that way the label knows which input element it refers to.</p><p>The reason for going through this trouble rather than just using a div or a span element, is because the browser knows that if a label element with a for property is clicked that the corresponding input element should receive focus.  Having the label AND the input element clickable makes for a much larger target to click on.  Heck, I&#8217;m a web developer, and I can&#8217;t even click on radio buttons and checkboxes to save my life!  Imagine how my grandma feels!<span
id="more-973"></span></p><p>Here&#8217;s an example:</p><div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span>&gt;</span>Your Name<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span></pre></div></div><p>SO SIMPLE! Here&#8217;s an entire form, with a demo of it below:</p><div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span>&gt;</span>Your Name <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;gender-male&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;gender&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;gender-male&quot;</span>&gt;</span>Male<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;gender-female&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;gender&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;gender-female&quot;</span>&gt;</span>Female<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;web-development&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;products&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checkbox&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;web-development&quot;</span>&gt;</span>Web Development<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;graphic-design&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;products&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checkbox&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;graphic-design&quot;</span>&gt;</span>Graphic Design<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;video-editing&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;products&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checkbox&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;video-editing&quot;</span>&gt;</span>Video Editing<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;logo-design&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;products&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checkbox&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;logo-design&quot;</span>&gt;</span>Logo Design<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span></pre></div></div><p>In this example, try clicking on the text label next to any of the checkboxes, radio buttons, or text fields.  You will see that the appropriate input element is focused!</p><fieldset
style="border: 1px dashed #888; padding: 10px;"><legend>Our Example Form</legend><form> <input
id="name" type="text" /><label
for="name">Your Name </label></p> <input
id="gender-male" name="gender" type="radio" /><label
for="gender-male">Male</label></p> <input
id="gender-female" name="gender" type="radio" /><label
for="gender-female">Female</label></p> <input
id="web-development" name="products" type="checkbox" /><label
for="web-development">Web Development</label></p> <input
id="graphic-design" name="products" type="checkbox" /><label
for="graphic-design">Graphic Design</label></p> <input
id="video-editing" name="products" type="checkbox" /><label
for="video-editing">Video Editing</label></p> <input
id="logo-design" name="products" type="checkbox" /><label
for="logo-design">Logo Design</label><br
/></form></fieldset><p>Have you used this technique, or something similar to help improve usability on your websites?  Tell me about it in the comments!</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/aTEYipozPl2wnvbTQdIk0FenlxI/0/da"><img src="http://feedads.g.doubleclick.net/~a/aTEYipozPl2wnvbTQdIk0FenlxI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/aTEYipozPl2wnvbTQdIk0FenlxI/1/da"><img src="http://feedads.g.doubleclick.net/~a/aTEYipozPl2wnvbTQdIk0FenlxI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/benradler/~4/rNH1vPX8wpc" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://benradler.com/how-to-properly-use-html-input-elements-with-label-elements-in-forms/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://benradler.com/how-to-properly-use-html-input-elements-with-label-elements-in-forms/</feedburner:origLink></item> <item><title>M3 &amp; GTR Exhaust Porn</title><link>http://feedproxy.google.com/~r/benradler/~3/tfyvKEpXhPw/</link> <comments>http://benradler.com/bmw-m3-nissan-gtr-exhaust-porn/#comments</comments> <pubDate>Sat, 18 Dec 2010 05:13:28 +0000</pubDate> <dc:creator>Ben</dc:creator> <category><![CDATA[Cars]]></category> <category><![CDATA[Videos]]></category> <guid isPermaLink="false">http://benradler.com/?p=951</guid> <description><![CDATA[I&#8217;ve been lagging on new blog posts recently, but for all you car enthusiasts out there here&#8217;s something to fap to.]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been lagging on new blog posts recently, but for all you car enthusiasts out there here&#8217;s something to fap to.</p><p><object
width="610" height="473"><param
name="movie" value="http://www.youtube.com/v/1qOjdQbPEH4?fs=1&amp;hl=en_US&amp;hd=1"></param><param
name="wmode" value="transparent"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><embed
src="http://www.youtube.com/v/1qOjdQbPEH4?fs=1&amp;hl=en_US&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" width="610" height="473"></embed></object></p><p><object
width="610" height="473"><param
name="movie" value="http://www.youtube.com/v/8_tRstSDVuk?fs=1&amp;hl=en_US&amp;hd=1"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><param
name="wmode" value="transparent"></param><embed
src="http://www.youtube.com/v/8_tRstSDVuk?fs=1&amp;hl=en_US&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" width="610" height="473"></embed></object></p> 
<p><a href="http://feedads.g.doubleclick.net/~a/SBK9J_JVBEm9V8mQmtqgZB4W0Hs/0/da"><img src="http://feedads.g.doubleclick.net/~a/SBK9J_JVBEm9V8mQmtqgZB4W0Hs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/SBK9J_JVBEm9V8mQmtqgZB4W0Hs/1/da"><img src="http://feedads.g.doubleclick.net/~a/SBK9J_JVBEm9V8mQmtqgZB4W0Hs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/benradler/~4/tfyvKEpXhPw" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://benradler.com/bmw-m3-nissan-gtr-exhaust-porn/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://benradler.com/bmw-m3-nissan-gtr-exhaust-porn/</feedburner:origLink></item> </channel> </rss>

