<?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>Design Shack &#187; Web Standards</title>
	<atom:link href="http://designshack.net/category/articles/webstandards/feed" rel="self" type="application/rss+xml" />
	<link>http://designshack.net</link>
	<description>Inspiration, CSS Gallery &#38; Community News</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>A Beginner&#8217;s Guide to Marketing Through Social News</title>
		<link>http://designshack.net/articles/webstandards/a-beginners-guide-to-marketing-through-social-news/</link>
		<comments>http://designshack.net/articles/webstandards/a-beginners-guide-to-marketing-through-social-news/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 14:17:48 +0000</pubDate>
		<dc:creator>Jake Rocheleau</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=21058</guid>
		<description><![CDATA[The modern web 2.0 landscape features dozens of amazing social networking projects. The most popular include brands such as Facebook or Twitter. Underneath these however lies an even larger industry centered around user participation and information sharing systems. Social news communities have begun popping up into almost every niche. Similarly we&#8217;re seeing Internet Marketers jumping [...]]]></description>
			<content:encoded><![CDATA[<p>The modern web 2.0 landscape features dozens of amazing social networking projects. The most popular include brands such as Facebook or Twitter. Underneath these however lies an even larger industry centered around <strong>user participation</strong> and information sharing systems.</p>
<p><span id="more-21058"></span></p>
<p>Social news communities have begun popping up into almost every niche. Similarly we&#8217;re seeing Internet Marketers jumping onto the latest trends with information technology. It&#8217;s absolutely amazing to see so much dedication being placed into these niche websites.</p>
<div class="tutorialimage"><a href="http://www.flickr.com/photos/scotttremper/533412380/"><img class="alignNone size-full" src="http://designshack.net/wp-content/uploads/digg-nintendo-ds.jpg" alt="Digg.com close up on Nintendo DS" width="510" /></a></div>
<p>Below I&#8217;ll go into a few traits in social news marketing. Promoting a brand online doesn&#8217;t follow the same rules as physical marketing, which opens up a wide array of new techniques. Social news is just one department, but particularly commands a large segment of online traffic.</p>
<h2>A Brief History</h2>
<p>The first social news communities to launch online included <a href="http://digg.com/">Digg</a> and <a href="http://www.reddit.com/">Reddit</a>. These are by far the most participated article sharing communities on the current curve of our World Wide Web.</p>
<div class="tutorialimage"><a href="http://www.flickr.com/photos/chrsobscura/3221175485/"><img class="alignNone size-full" src="http://designshack.net/wp-content/uploads/digg-office-san-francisco.jpg" alt="San Francisco offices of Digg, Inc." width="510" /></a></div>
<p>The genre <strong>social news</strong> was created under the unique aspects following each website. Users are able to sign up and create a username to vote on stories and leave comments. Only the most popular news stories within a given time frame would hit the front page, delivering enormous amounts of traffic. Webmasters would long strive for this status to bring boatloads of unique visitors onto their blog or forums.</p>
<h3>Digg vs. Reddit</h3>
<p>First launched in November of 2004, Digg.com has experienced a very large rise to fame. Ultimately peaking around 2006-2007 when front page stories would often push 8,000 diggs. However their latest release of Digg v4 has struggled as users lose interest, and we now have news that site founder <a href="http://soshable.com/kevin-rose-leaves-digg-but-he-really-left-long-ago/">Kevin Rose has left the company</a> for good.</p>
<div class="tutorialimage"><a href="http://www.flickr.com/photos/cheung31/3837308353/"><img class="alignNone size-full" src="http://designshack.net/wp-content/uploads/reddit-home-screen.jpg" alt="Reddit on the Home Page" width="510" /></a></div>
<p>Social news community Reddit garners loads more traffic and has now taken the place of former rival Digg. Their edge specializes in custom categories known as <strong>subreddits</strong>.</p>
<h2>Social News Today</h2>
<p>On the modern web there are numerous communities for which you may spend your time. I often play around with <a href="http://pligg.com/">Pligg CMS communities</a> featured all throughout Google. These websites act as popular directories for stories and articles relating to many topics.</p>
<p>General news, science, technology, media, and video games are just a few. If you&#8217;re running a blog or similar type of content this way of marketing can greatly benefit both you and your readers. Especially if your site is new to launch and desperate for unique signup registrations.</p>
<div class="tutorialimage"><a href="http://www.pligg.com/gallery/"><img class="alignNone size-full" src="http://designshack.net/wp-content/uploads/pligg-web-design-gallery.jpg" alt="Pligg CMS Design Gallery" width="510" /></a></div>
<p>To get started Pligg&#8217;s core site has loads of resources for the average marketer. Immediately I can think of <a href="http://www.pligg.com/gallery/">Pligg&#8217;s Official Gallery</a> list to get you started. You&#8217;ll find well over 50 or 100 unique domains running the Pligg CMS system. By submitting your articles into their directories Google can find your content faster and index pages for related keywords.</p>
<h2>Signup and Start Voting!</h2>
<p>In the screenshot below I&#8217;ve included a basic Pligg website. You will notice the centerpiece features a list of front page stories, each with a user account tied to the submission. With an account on these sites you can both vote on other&#8217;s stories and submit your own (hopefully to reach the front page).</p>
<div class="tutorialimage"><a href="http://www.bizsugar.com/"><img class="alignNone size-full" src="http://designshack.net/wp-content/uploads/bizsugar-home-screen.jpg" alt="BizSugar Home Page" width="510" /></a></div>
<p>When you go to signup you&#8217;ll only need a username, password, and e-mail address. Many websites will require you to confirm the address, as it&#8217;s not very difficult to spam these networks otherwise. Security is always a problem. But intelligent webmasters won&#8217;t let their communities degrade and tend to interfere with quality article submissions, along with moderating front page stories before they pop.</p>
<div class="tutorialimage"><a href="http://www.bizsugar.com/register"><img class="alignNone size-full" src="http://designshack.net/wp-content/uploads/bizsugar-signup-page.jpg" alt="Signup for a new BizSugar Account" width="510" /></a></div>
<p>What many don&#8217;t understand is just submitting your links into these directories will provide reliable link juice for your website. Even if nobody votes for your post, or even if they vote down your post, you&#8217;ll still have a backlink in the upcoming section. These are crawled by Google every few hours, so your site gains credibility for the keywords in your article.</p>
<h2>Partitioning the Community</h2>
<p>On the more popular websites it&#8217;s possible to chat with fellow community members. These are people around the world who demonstrate networking skills and help to run the front page of any social community. I highly recommend spending time out of your marketing plan to meet people and message for votes.</p>
<p>Some lesser-known titles include <a href="http://sphinn.com/">Sphinn</a> and <a href="http://kirtsy.com/">Kirtsy</a>, notably two which garner heavy traffic onto front page articles. If your blog is related and posts on-topic featuring many of the same ideas then your website may gain new readers with such a marketing strategy. This method can work by community participation, or also by running a few separate accounts.</p>
<div class="tutorialimage"><a href="http://sphinn.com/"><img class="alignNone size-full" src="http://designshack.net/wp-content/uploads/sphinn-homescreen.jpg" alt="Sphinn - Internet Marketing news" width="510" /></a></div>
<p>Strategy is required for smaller websites with much less of a community presence. Here you should spend time building a few accounts for yourself and note each username/password. Under this strategy you&#8217;re able publish numerous articles onto the front page without relying on other people for support.</p>
<h2>Construct your Brand Image</h2>
<p>When creating each profile don&#8217;t forget to build a unique brand image. Under the guise of your company every account should be created with branding potential in mind. Consider your username as relating to keywords for your business. The same goes for your profile information or avatar image.</p>
<div class="tutorialimage"><a href="http://www.flickr.com/photos/gabrielgalvao/2377238739/"><img class="alignNone size-full" src="http://designshack.net/wp-content/uploads/diggnation-branding-podcast.jpg" alt="branding for DiggNation Podcast" width="510" /></a></div>
<p>It&#8217;s also fairly draining to spend all your time voting and submitting articles. Take some time out to relax and plan your strategies! Collect a list of social news websites and keep this on-hand each day. Marketing is a skill which takes time to master. If you&#8217;ve got a solid plan thought out, application and timing will perform in your favor.</p>
<h2>Conclusion</h2>
<p>The marketing strategies behind social news communities are vast. These are ever-popular as more information is flowing via the Internet each day. If you&#8217;ve already studied a bit into marketing techniques online then social news will become just another tool for your box.</p>
<p>We have briefly discussed strategies for <a href="http://designshack.net/articles/business-articles/marketing-your-business-with-viral-social-news-communities/">viral news marketing</a> in social news in an earlier article. Here my goal is to provide a more in-depth comparison into some of the communities and how you can properly induce traffic-heavy campaigns. If you have similar ideas please share them with us in the discussion section below.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/webstandards/a-beginners-guide-to-marketing-through-social-news/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Useful Tips for Building Freelance Web Projects With WordPress</title>
		<link>http://designshack.net/articles/webstandards/useful-tips-for-building-freelance-web-projects-with-wordpress/</link>
		<comments>http://designshack.net/articles/webstandards/useful-tips-for-building-freelance-web-projects-with-wordpress/#comments</comments>
		<pubDate>Tue, 17 May 2011 12:00:13 +0000</pubDate>
		<dc:creator>Jake Rocheleau</dc:creator>
				<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=19836</guid>
		<description><![CDATA[Today We&#8217;ve got some useful tips for freelance project work. WordPress will help to advance not only your client&#8217;s websites but to save loads of time and patience during the process. The administration panel is easy as pie and even includes the possibility for new updates. Why WordPress? WordPress is a very powerful system having [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/wordpress-macbook-laptop.jpg" alt="screenshot" width="510"/></div>
<p>Today We&#8217;ve got some useful tips for freelance project work. WordPress will help to advance not only your client&#8217;s websites but to save loads of time and patience during the process. The administration panel is easy as pie and even includes the possibility for new updates.</p>
<p><span id="more-19836"></span></p>
<h2>Why WordPress?</h2>
<p>WordPress is a very powerful system having just come into 3.x release. Most blogs are powered under WP these days and include a handful of amazing plugins that push its usefulness even further. As web designers, it&#8217;s not uncommon to fully customize both plugins and themes within a fresh WordPress install.</p>
<p>Freelancers are also facing similar challenges. Working as a freelance designer, all too often projects require backend administration. Instead of coding your own application, it&#8217;s much easier to use an open source solution. These days WordPress can fit into almost any mold, and will shave off hours in your development time.</p>
<h2>Design on Free Templates</h2>
<p>If you know anything about WordPress, you know that its template system is very detailed. For simpler business websites, which only plan on utilizing static pages, your job becomes much easier. However, when you must include articles and archives there are many template files to consider.</p>
<p>I recommend downloading any of the <a href="http://designshack.net/community/50-new-WordPress-themes-march-2011">newest WordPress themes</a> and building around their wireframes. If you can find a layout which matches your needs (2-columns, 3-columns, parallax, etc) the amount of time saved coding HTML/CSS may come to you as a fantastic surprise. If you feel more comfortable building your own template this works fine as well.</p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/apple-mac-dock-coda.jpg" alt="screenshot" width="510"/></div>
<p>The development community is often very active and filled with hot topics each day. Never shy away from asking important questions which can help you complete a project sooner. Developers are even likely to share bits of PHP code to simplify the process.</p>
<h2>Create a functions.php File</h2>
<p>Inside almost every template folder should rest a <code>functions.php</code> file. This is included on every page within the header as WordPress is loading your template. This custom script was built into WordPress back in version 2 for developer&#8217;s convenience.</p>
<p>It&#8217;s simple to create your own hooks and functions which will affect pages in your layout. There are countless <a href="http://designshack.net/community/20-more-WordPress-code-snippets-and-hacks">WordPress code snippets and hacks</a> to get you started on building a customized functions template file.</p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/vintage-toy-display.jpg" alt="screenshot" width="510"/></div>
<p>Of course, your usage of the file will greatly vary depending on your client&#8217;s needs. As an example, you may be able to manipulate custom post data for a portfolio design. Website designers and illustrators love WordPress as a portfolio tool. And with the <a href="http://designshack.net/articles/freebies/weekly-freebies-10-WordPress-portfolio-themes-that-arent-ugly">endless supply of portfolio themes</a> it&#8217;s easier than ever to release a customized template.</p>
<h2>Provide Custom Analytics</h2>
<p>WordPress hosts many of their free plugins as downloads directly from their website. One of the best Analytics plugins titled <a href="http://WordPress.org/extend/plugins/google-analytics-for-WordPress/">Google Analytics for WordPress</a> allows the inclusion of analytics tags without any template edits. The core functions track visitor data and retrieve information directly from your analytics account.</p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/ipad-mobile-blogging.jpg" alt="screenshot" width="510"/></div>
<p>The installation is performed by simply uploading and activating the plugin inside the WordPress admin panel. In the settings menu, you&#8217;ll need to provide the client&#8217;s Analytics ID, but you do <strong>not</strong> need to include their script tags. The plugin will automatically include this data within any template&#8217;s footer.</p>
<h2>Setup Demo Installs</h2>
<p>Personally, as a web developer it&#8217;s a great feeling once a project is completed. However it can take days, weeks, or even months to reach this stage. One of the simplest actions you can perform is <a href="http://designshack.net/articles/css/best-resources-for-learning-WordPress-development">installing a demo version</a> of WordPress on your own local server.</p>
<p>This provides you with a platform to practice and build template files without needing to access the client&#8217;s live website. You also have full control over your server access and may manipulate files at will. The secondary benefit is to have a complete structure formed and able to be shared out digitally. This means you may contact your clients with demo links live <strong>before even touching</strong> their web hosting.</p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/street-clock-analog.jpg" alt="screenshot" width="510"/></div>
<p>Granted, this step isn&#8217;t a necessity for every project. If you do end up building on WordPress frequently it helps to have your own demo space. You may install multiple themes and easily switch between the files for simultaneous project work.</p>
<h2>Sharing Within the Community</h2>
<p>Possibly, the greatest aspect of developing over WordPress comes with such an active and helpful support community. There are literally thousands of other developers around the world working with the exact same code you are.</p>
<p>This means there are plenty of free code bits and helpful plugins everywhere. Bloggers and developers over Twitter will release bits of their code into public domain. For this reason alone you should consider <a href="http://designshack.net/community/102-respected-designers-you-should-follow-on-twitter">starting a Twitter following</a> and keeping tabs on great WP developers.</p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/dark-city-streets-community.jpg" alt="screenshot" width="510"/></div>
<p>Similarly, there are tons of great ideas out there for adding functionality into your blogs. Working freelance means you aren&#8217;t able to always control the project direction. However you can add in your own professional two cents every now and again. For blog layouts <a href="http://designshack.net/articles/graphics/the-benefits-of-social-media-badges-in-your-blog">social media badges</a> are the best way to gain attention onto a new launch.</p>
<h2>Conclusion</h2>
<p>This brief collection of ideas should get your mind geared towards growth and development. When building as a freelancer, the end result is financial stability and control over your free time. This means working with open source projects is possibly the best solution for almost any client requirement.</p>
<p>As WordPress continues to grow we&#8217;ll seen an enormous explosion of <a href="http://designshack.net/articles/layouts/drag-and-drop-WordPress-layout-with-platform-pro">complex functionality and tutorials</a> move into mainstream media. Developers are always hard at work to add their contributions into the WP codebase. If you have knowledge of similar projects please share your experiences in the comments section.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/webstandards/useful-tips-for-building-freelance-web-projects-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>5 Ways to Be an Ethical SEO Expert</title>
		<link>http://designshack.net/articles/webstandards/5-ways-to-be-an-ethical-seo-expert/</link>
		<comments>http://designshack.net/articles/webstandards/5-ways-to-be-an-ethical-seo-expert/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 21:16:33 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=9908</guid>
		<description><![CDATA[Search Engine Optimization (SEO) has been a huge buzzword among marketers for years. The reason for this is that search engines can be legitimate sources of mountains of traffic for your site and the higher you rank on them the better. The problem that arose in the early days of SEO was a blatant abuse [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/5seotips-5.jpg" alt="screenshot" width="510"/></div>
<p>Search Engine Optimization (SEO) has been a huge buzzword among marketers for years. The reason for this is that search engines can be legitimate sources of mountains of traffic for your site and the higher you rank on them the better. </p>
<p>The problem that arose in the early days of SEO was a blatant abuse of the system. What began as a few innocent tricks to earn more visitors morphed into questions of etiquette and heated debates regarding what should and shouldn&#8217;t be allowed. The web design community has come a long way in the past decade but there are plenty of marketers that still follow the tactics of the 90s either through ignorance or defiance.</p>
<p>Today we&#8217;ll briefly look at how to engage in SEO in an ethical manner by pointing out five key techniques to avoid. </p>
<p><span id="more-9908"></span></p>
<p><em>Like the article? Be sure to subscribe to our <a href="feed://feeds.feedburner.com/designshack">RSS feed</a> and follow us on <a href="http://twitter.com/designshack">Twitter</a> to stay up on recent content.</em></p>
<h2>Don&#8217;t Fill Your Meta Tags with Keywords</h2>
<p>This is a clear example of how developers and marketers took advantage of the system to the point that any usefulness has been stripped. Years ago, websites began stuffing their meta tags full of every possible keyword and phrase that they could find. It was even a common practice to simply steal the meta tags of competitors. </p>
<p>If the fact that this practice is unethical and annoying doesn&#8217;t convince you to cut it out, consider this gem: it doesn&#8217;t help your rankings. Despite what your SEO guy might think, most modern search engines have abandoned (or simply never supported) meta tags as a way to rank results. </p>
<div class="tutorialimage"><a href="http://googlewebmastercentral.blogspot.com/2009/09/google-does-not-use-keywords-meta-tag.html"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/5seotips-1.jpg" alt="screenshot" width="510"/></a></div>
<p>Google saw so many misconceptions regarding this subject that last year they <a href="http://googlewebmastercentral.blogspot.com/2009/09/google-does-not-use-keywords-meta-tag.html">published an article</a> all about how they do and don&#8217;t use meta tags. They <em>do</em> occasionally use the description tag as the preview snippet for the site, they <em>don&#8217;t</em> use any meta tags to determine your page ranking.</p>
<h2>Don&#8217;t Fill Your Footer with Crap and/or Hide Content</h2>
<div class="tutorialimage"><a href="http://www.flickr.com/photos/myklroventine/3405291415/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/5seotips-2.jpg" alt="screenshot" width="510"/></a></div>
<p>Another example of developers trying to boost their rankings through nonsense is by unnecessarily filling the footer with keywords or links. This results in a huge footer that doesn&#8217;t increase the usability of the site one bit (it actually reduces it!). </p>
<p>Also avoid hiding keywords on the page. This is one of my biggest pet peeves and really shows a complete lack of general knowledge or concern relating to ethical web development. I&#8217;ve seen pages filled with text the same color as the background, items piled on top of others, and other bizarre and desperate attempts to cram as many keywords as possible into the content. If it doesn&#8217;t fit with the content, leave it out!</p>
<p>An alternate version of hiding content is &#8220;cloaking.&#8221; This is a clever trick that makes search engines see one thing and users another. This way you can still have a nice clean website but still use all the dirty little SEO tricks. Cloaking is definitely frowned upon by the good people at Google and should definitely be avoided.</p>
<h2>Don&#8217;t Duplicate Content Across Multiple Domains</h2>
<div class="tutorialimage"><a href="http://www.flickr.com/photos/orangeacid/273899875/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/5seotips-3.jpg" alt="screenshot" width="510"/></a></div>
<p>Have you ever searched for something on Google, clicked on a dozen links or so that seemed unique only to realize that half or more ultimately led to the same site or product? Remember how annoying that was? </p>
<p>The key here is to continually put yourself in the mindset of a user. We are all aware that more traffic often equals more money, but duplicating all your content across multiple sites just so you appear multiple times in a search is essentially just spam! You&#8217;re not targeting valuable traffic for the sake of conversions, you just want to watch your analytics rise. Never mind the fact that half the people visiting your site are annoyed at the fact that they keep ending up there and will therefore never consider buying whatever it is you&#8217;re selling.</p>
<p>Having multiple domains is fine, if that&#8217;s what you genuinely need for content purposes. Creating a network of unique but connected sites is a completely legitimate business practice and can lead to a large following of interested users, just make sure you&#8217;re not mindlessly copying and pasting content simply to enlarge your snare. </p>
<h2>Don&#8217;t Sacrifice Quality or Usability</h2>
<p>At the real heart of all of these principals is a desire for quality and usability. If your SEO is reducing the ease at which people can use your site, then it&#8217;s counterproductive and reduces rather than increases the value of the site. Ask yourself what the fundamental purpose for the existence of the site is. If it&#8217;s to be a professional face for your company to the public, then don&#8217;t cheapen it for the sake of SEO.  </p>
<p>Even good practices can make your site suffer if not implemented properly. For instance, the necessity of inserting keywords into paragraph copy often leads to sentences that are nearly unreadable or at the very least an assault on the English language. </p>
<p>For instance, repeating keywords again and again in different ways can make your site both annoying and confusing. As an example, your site can be made quite annoying and confusing by repeating the same keywords and phrases different ways throughout the paragraph copy. To illustrate, if you want to confuse and annoy your readers, repeat the same keywords again and again throughout the site. </p>
<p>See what I did there? Never imagine that your users are too dumb to notice your incessant attempts to fool search engines into giving you a higher rank. They will both notice and resent you for it. </p>
<p>Strive to make a website that people can use and even enjoy. Use the SEO techniques that you know are respectable and effective, but if you have to choose, give usability a higher level of importance. </p>
<h2>Don&#8217;t Let Your Clients Believe SEO is Magic</h2>
<div class="tutorialimage"><a href="http://www.flickr.com/photos/mrpunto/117374484/sizes/l/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/5seotips-4.jpg" alt="screenshot" width="510"/></a></div>
<p>One last thing that really irks me is &#8220;SEO Experts&#8221; who take advantage of clients that simply don&#8217;t know any better. Everyone uses the Internet, but few really understand it to the level that we web developers do. Consequently, it&#8217;s really easy for someone who knows the lingo to convince an aspiring business owner that the reason they haven&#8217;t achieved fame and fortune on the web is because they need a little SEO. </p>
<p>There are plenty of legitimate SEO experts that can in fact provide a measurable and valuable increase to the number of visitors to a site, but it sure seems like there are a lot more individuals who have learned just enough to rip people off. </p>
<p>Be honest with your clients both about your experience with SEO and how it will and won&#8217;t benefit them. If you don&#8217;t know anything about it, don&#8217;t claim that you do. Read a book or two on the subject before you start bragging about how good you are at it. If you really do know all about SEO, then you should know enough to tell your client how much of a return they can <strong>realistically</strong> expect from their investment. </p>
<h2>How to Get Banned</h2>
<p>If you read and discard the information above as the drivel of an overzealous designer, you should definitely reconsider. There&#8217;s more to my argument than simply stating that I don&#8217;t like it when developers engage in these tactics. The truth is, most of the web community doesn&#8217;t like it. So much so that engaging in practices like keyword abuse, cloaking, and duplicating content are excellent ways to get your site banned from Google and other search engines.</p>
<p>It might seem draconian for Google to police the web in search of violators, but you have to remember that the primary goal of a search engine is to provide relevant and useful links to searchers. If your shady actions are inhibiting this goal, don&#8217;t be surprised if you get the boot. </p>
<h2>Conclusion</h2>
<p>Ultimately, remember that good practices are those that don&#8217;t feel like you&#8217;re getting away with something. Proper use of headings, assigning alt tags to images and creating site maps are all great ways to boost your SEO without selling your soul. Exploiting loopholes and constantly searching for that one golden trick that will bring you the traffic of your dreams is a fool&#8217;s errand that ultimately hurts more than it helps. </p>
<p>Leave a comment below and let us know what your SEO pet peeves are. We want to hear horror stories of sites that go way beyond what is acceptable in the name of first page rankings! </p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/webstandards/5-ways-to-be-an-ethical-seo-expert/feed/</wfw:commentRss>
		<slash:comments>49</slash:comments>
		</item>
		<item>
		<title>Entering the Era of Device Testing</title>
		<link>http://designshack.net/articles/html/entering-the-era-of-device-testing/</link>
		<comments>http://designshack.net/articles/html/entering-the-era-of-device-testing/#comments</comments>
		<pubDate>Wed, 05 May 2010 17:31:34 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=8167</guid>
		<description><![CDATA[This article will discuss the history and future of the web and what implications that has for how device testing will begin to play a larger role in the obligations of web designers. As the presence of web enabled devices increases the key question that will arise relates to not only whether or not your [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/DevTest-2.jpg" alt="screenshot" width="510"/></div>
<p>This article will discuss the history and future of the web and what implications that has for how device testing will begin to play a larger role in the obligations of web designers.</p>
<p>As the presence of web enabled devices increases the key question that will arise relates to not only whether or not your design will function on a given device, but also (and perhaps more importantly) how high the quality of the experience will be on that device.</p>
<p><span id="more-8167"></span></p>
<p><em>Like the article? Be sure to subscribe to our <a href="feed://feeds.feedburner.com/designshack">RSS feed</a> and follow us on <a href="http://twitter.com/designshack">Twitter</a> to stay up on recent content.</em></p>
<h2>The History</h2>
<p>The Internet used to be something that you kept in one place. It sat idly by in your office while you lived out your life with only the occasional need to fire up the connection through your phone line and check an email address that no one ever sent anything to. </p>
<p>Many of us saw the mass amounts of potential and knew that the possibilities were endless, but still couldn&#8217;t really think of a reason to be online very often. Our lives had been just fine without this strange new connection to the rest of the world and though it excited us to have it, there wasn&#8217;t much in our daily lives that called on us to actually use it.</p>
<p>As time went on, those few souls who really grasped the potential of this world-shaking technology gradually developed sites and applications that gave us practical and addicting reasons to continually check in online. We began to grow accustomed to an unlimited stream of information and started actually seeing the Internet as an essential household necessity. </p>
<p>It was where we started research papers, caught up on the news, looked for a dinner recipe, learned to play a song, and found out who that one guy in that one movie was. And the biggest revolution? Communication. The Internet suddenly provided us with new and exciting ways to keep up with both the people we loved the most and the people we were only mildly interested in hearing about. </p>
<p>However, while this communication revolution was taking place in the office, another was exploding in the streets. Cellular phones had become the hottest item on the planet, magically providing us with a constant, invisible tether to everyone we knew. Our insatiable thirst for constant communication had begun to push cell phones into the hands of adolescents, grandmas and every one in between.</p>
<p>Looking back, it&#8217;s easy to see that these two linked but separate revolutions were on a collision course that would change the world forever. </p>
<h2>The Future</h2>
<p>As we know, the mobile phone revolution did indeed collide with that of the Internet. As with the &#8220;normal&#8221; Internet, the mobile web was so limited at first that few really saw the need. The Internet had been built to be a rich, dynamic and Interactive place and many cell phones didn&#8217;t have so much as a color screen. Consequently, many thought they knew the future of the web: mobile.</p>
<p>In their limited grasp they envisioned a future with two Internets: the big one that you left at home and the small one that you took with you. However, this was merely a transitional period and not the true future of the Internet. The mobile web, though still a hot buzz item, is gradually giving away to something else entirely. </p>
<p>The birth of the smartphone marked a new era where these two technologies were finally able to collide with near full force into the explosion of constant information and entertainment we know today. </p>
<h3>Not Mobile</h3>
<p>It is here that we venture outside of our 20/20 vision regarding what has happened and look through our incredibly inadequate prescription lenses towards the future. My prediction is this: The future of the web is not mobile.</p>
<p>To say that the future of the web is mobile is to focus on a small portion of the greater puzzle. The future of the web is not in cell phones. These devices are constantly evolving and will feed the revolution, but computers aren&#8217;t going away any time soon. The mobile trend does however provide us with the biggest key insight into the future. In this future our lives are inexorably intertwined with the Internet as the hours and locations where we aren&#8217;t hooked in dwindle and disappear. We won&#8217;t take the Internet with us, it will take us with it. </p>
<p>The future of the web is not mobile, it is ubiquitous. </p>
<h2>The Era of Devices</h2>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/DevTest-1.jpg" alt="screenshot" width="510"/></div>
<p>The lengthy and overly dramatic narrative above is meant to get you thinking about the current state and possible future of web user trends. It used to be the case that a web designer&#8217;s biggest obstacle to tackle was cross-browser compatibility. In fact, this still holds true for many designers.</p>
<p>However, as the ubiquity of the web increases, the looming issue of device testing increases in importance. The Internet has leapt out of the desktop computer and into notebooks, netbooks, cell phones, mp3 players, tablets, and countless other devices. </p>
<p>As time goes on, technology fuses more and more with the web, giving you an ever increasing amount of variables to consider for how people are experiencing the websites you build. </p>
<h3>The Real Goal of Device Testing</h3>
<p>Fortunately, as technology improves so too does the compatibility of these devices with the web the way it was always meant to be. Though debates rage over which technologies should be supported, there is at least a strong core of support rising out of widely agreed upon standards in HTML, CSS and even JavaScript. </p>
<p>However, though your device testing duties may ease in some respect as certain technologies triumph over others and are adopted as standard by device manufacturers, never forget that this is not merely a question of compatibility. We can get so tangled up in making everything compatible that we forget the real goal entirely: the experience. </p>
<p>It is the user experience that is your ultimate end game as a web designer. Device testing then goes well beyond whether or not a site simply loads on a certain device to how it <em>feels</em>.</p>
<h2>Focusing on the Experience</h2>
<p>In a recent blog post titled <a href="http://informationarchitects.jp/designing-for-ipad-reality-check/">Designing for iPad: Reality Check</a>, the web developers at Information Architects discussed how they went about developing for the iPad before anyone could actually even get a hold of one. They used clever tactics like printing out screens and applying them to scale models, but ultimately nothing could provide a decent substitute for the real thing.</p>
<p>It wasn&#8217;t until they actually saw and experienced their application on the device that they were able to really fine tune the nuances of the experience. Armed with experiential knowledge of factors such as screen brightness and resolution, gesture friction, and device maneuverability, they are now much better equipped to tackle the task of creating enjoyable and effective user experiences for the iPad. </p>
<p>This is where the heart of device testing lies. When you leave behind compatibility and enter into experiencing for yourself how your designs fare on a given device. As you get a feel for popular devices, you can apply knowledge gained from concrete experience to the earliest stages of design to ensure that the users you want to target are getting the experience you want them to on the devices you know they&#8217;ll be using.</p>
<h2>Closing Thoughts</h2>
<p>Obviously, the depth of your duty in this regard will scale with the size and budget of the project. But in general, you have an obligation as a designer to pay close attention to trends in device usage and to familiarize yourself with the experience of using the gadgets driving those trends.</p>
<p>The more you familiarize yourself with a given device, the fewer unpleasant surprises the testing stage will bring. Sometimes the goal will be a widespread &#8220;acceptable&#8221; experience on as many devices as possible, other times it will be to really shine on a specific device at the expense of others. Great designers will be able to pull off either task equally well. Will you?</p>
<p>Let us know in the comments below how you think the rapid expansion of online devices will affect the future of web design.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/html/entering-the-era-of-device-testing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Learning From Microsoft: 10 Design Pitfalls to Avoid</title>
		<link>http://designshack.net/articles/accessibility/learning-from-microsoft-10-design-pitfalls-to-avoid/</link>
		<comments>http://designshack.net/articles/accessibility/learning-from-microsoft-10-design-pitfalls-to-avoid/#comments</comments>
		<pubDate>Sat, 01 May 2010 05:42:53 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=8032</guid>
		<description><![CDATA[Today we&#8217;ll look into the web design practices and trends of the single biggest name in software to see if we can learn anything about some mistakes to avoid in our own work. Feel free to comment to either agree or disagree with the suggestions below. As professional designers your insight is valuable and I [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/MicrosoftLogo.jpg" alt="screenshot" width="510"/></div>
<p>Today we&#8217;ll look into the web design practices and trends of the single biggest name in software to see if we can learn anything about some mistakes to avoid in our own work.</p>
<p>Feel free to comment to either agree or disagree with the suggestions below. As professional designers your insight is valuable and I look forward to your thoughts.</p>
<p><span id="more-8032"></span></p>
<h2>The Occasional Rant</h2>
<p>To everyone who hates articles filled with rants, I apologize that this post is a little harsh at times. I normally favor praising good design over criticizing bad, but when David Appleyard and I decided to do a post on the design trends of Microsoft, there just seemed to be a lot more to learn about the messy, ugly, and/or inadvisable things that they do than the alternative. </p>
<p>To cut you off in the comments, I won&#8217;t mention or make a single comparison to Apple in the analysis below. This is not meant to be a PC versus Mac argument in the least, but rather a look at what we believe to be genuinely poor practices in web design and development. In all fairness, Microsoft is a hugely successful company and is not exacting failing due to any of these problems. In fact, as we point out below, Microsoft really seems to have some stellar designers on the team for certain sites, we merely suggest that a greater level of quality control be implemented across the board. </p>
<p>With that in mind, let&#8217;s analyze a few places that Microsoft seems to fall short in its design and development practices and how you can benefit from this knowledge.</p>
<h2>#1 Beware of Mandating Certain Plugins</h2>
<p>If we&#8217;ve learned anything from the recent scrapes between Apple and Adobe it&#8217;s that creating sites entirely dependent on closed third party plugins can eventually lead to some serious backfire. Microsoft seems to be repeating this same blunder as its own network of sites becomes more and more deponent on Silverlight. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-1.jpg" alt="screenshot" width="510"/></div>
<p>As I browsed Microsoft&#8217;s various sites preparing for this article I was constantly harassed by windows informing me that I had not installed Silverlight and therefore could not experience the webpage the way it was meant to be viewed. My question is, &#8220;why go this route?&#8221; Especially when we&#8217;re talking about simple slideshows and animations that can be done with more ubiquitous technologies. Granted, Microsoft owns Silverlight so it makes good business sense for them to back up their investment, but that doesn&#8217;t mean that it&#8217;s the best choice for you to go jumping on their bandwagon. </p>
<p>Whether you&#8217;re a huge fan of Silverlight or not, my advice is to be extremely cautious about basing the functionality of your site on this or any similarl technology. As the debate about whether or not it makes good sense to develop sites with Flash continues to heat up, second in line systems like Silverlight become even more of a gamble. Where possible, stick to cross-browser, standards-compliant code and tools that don&#8217;t require any additional work or installations from your visitors. </p>
<h2>#2 Watch Your Resolution</h2>
<p>This is one of my biggest complaints about Microsoft simply because it just seems like sloppy design. There is undoubtedly a fine line to walk between keeping your file size down to increase usability and keeping your pictures clean and crisp, but I can&#8217;t help but feel that Microsoft seems to be more prone to display ugly, jagged JPGs than literally any other professional site that I&#8217;ve seen in the past few years. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-2.jpg" alt="screenshot" width="510"/></div>
<p>The ever decreasing amount of dial-up Internet users continues to push acceptable image sizes up and up. This by no means implies that you should not take special care to make everything as small as is reasonable, but the moment it starts to weigh so heavily on the design that it dramatically reduces the apparent quality of the site, the images become self defeating!</p>
<p>You&#8217;re living out pure irony if you use images to make your site look better but ultimately reduce your aesthetic appeal in the process. When possible, preview your processed images on different monitors and pay close attention to how much distortion and artifacting you find to be acceptable. </p>
<h2>#3 Organized Clutter</h2>
<p>Sometimes you can follow all of the obvious design rules and still end up with something that seems visually subpar. Browsing Microsoft&#8217;s sites I came across countless areas like the one below that just seemed cluttered despite their attempts at column-based organization. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-3.jpg" alt="screenshot" width="510"/></div>
<p>So what&#8217;s the problem? Simply put, there is a ton going on in a relatively small space here. Even thought they&#8217;ve definitely attempted to arrange the content and enhance the visual readability through icons, the end result is still quite off balance. </p>
<p>If you take a close look at what&#8217;s going on here it feels like four columns of information designed by four different people that have been crammed together. The left side seems really heavy with images compared to the right, the text color is a little sporadic, the content is awkwardly staggered, and the columns lack enough breathing room to make them seem like the independent areas that they are. </p>
<p>The lesson here is to be careful of packing a single area of your page too full of disparate information. There are undoubtedly plenty of times when the situation will demand lots of content, but the organization should be handled in a consistent and attractive manner as seen in the beautiful examples below (from non-Microsoft sites). </p>
<div class="tutorialimage"><a href="http://www.177designs.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-3-2.jpg" alt="screenshot" width="510"/></a></div>
<div class="tutorialimage"><a href="http://www.sketchdock.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-3-3.jpg" alt="screenshot" width="510"/></a></div>
<h2>#4 Inconsistency</h2>
<p>Starting from Microsoft.com, open up the gargantuan navigation dropdown menus and choose an area of the site to visit. No matter which link you click, the resulting page will look quite different than the homepage and different still from most of the other links available in the same dropdown.</p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-4.jpg" alt="screenshot" width="510"/></div>
<p>Exploring the Microsoft site is like spinning a roulette wheel. You have virtually no idea where you&#8217;re going to land and what to expect from the next page. Some pages feature swooshy backgrounds while other use soft gradients or even exploding circles. Most pages seem to favor blue but not necessarily the same blue and there are also plenty of pages that ignore the blue trend altogether. </p>
<p>The point is, whether your site has two pages or two hundred, consistency is a must. It makes users feel more comfortable when they can become familiar with the way a site works and looks within a few seconds. Giving them something drastically different every few pages makes browsing a more confusing and less efficient experience. </p>
<p>in addition to this there&#8217;s the idea that creating a strong, consistent brand is just good business as it helps customers relate to your company in a more personal way. Admittedly, Microsoft is juggling many different brands and microsites that all stem from the homepage, but even among what could be considered the core Microsoft.com pages, the image themes and navigation methods seem drastically diverse. </p>
<h2>#5 Clipart-centric Design</h2>
<p>This suggestion is obviously a little absurd seeing as how clip-art and Microsoft Office have always been inexorably intertwined. However, icon design has come a long way since 1995 and it&#8217;s about time to give up that specific style in the images you use. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-5.jpg" alt="screenshot" width="510"/></div>
<p>The examples of art above pulled from various Microsoft pages simply make me cringe, especially that awful &#8220;Beginner Developer&#8221; logo. I have no idea why a boomerang is attacking a plant or whether the magical hovering computer monitor is aiding in the attack or fleeing the scene. All I know is that the visual communication here is an indecipherable mess. </p>
<p>This is one of the primary reasons CSS galleries like our own exist. Not so you can steal the design of others, but so you can get a glimpse into the state of design in the decade you&#8217;re developing in. Browsing through these galleries is like visiting popular clothing stores at the mall to show your crazy aunt that she doesn&#8217;t have to dress like someone from the Sunny and Cher show.</p>
<p>Always feel free to break boundaries and move beyond current deisgn trends by starting your own. Just be cautious of staying stubbornly stagnant for years while the rest of the world moves on. </p>
<h2>#6 Misaligned Overflowing Text</h2>
<p>Another trend that&#8217;s hard to miss across Microsoft&#8217;s sites is the constantly broken columns of text that overflow their obvious bounds. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-6.jpg" alt="screenshot" width="510"/></div>
<p>This one is fairly easy to fix and really only requires a bit of effort and attention. Just make sure to take advantage of free tools like <a href="https://browserlab.adobe.com/index.html">Adobe&#8217;s browser lab</a> to ensure that your layouts don&#8217;t break when viewed on any major browsers. </p>
<p>Though CSS layout is an admittedly tricky beast when it comes to cross-browser consistency, small mistakes like this really bring your site quality down and are worth the troubleshooting time they take to resolve. </p>
<h2>#7 Poor Alignment</h2>
<p>Sometimes a given page presented me with the challenge of deciding which design foible to point out. For instance, on the page below I originally considered picking on the use of a tiny screenshot that doesn&#8217;t get bigger when you click on it, but the more I looked at the page the more I became confused as to what was going on with the layout.</p>
<div class="tutorialimage"><a href="http://home.live.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-7.jpg" alt="screenshot" width="510"/></a></div>
<p>If you&#8217;re familiar at all with basic design theory, you know that learning to implement solid, consistent alignments is the key to good page layout. The odd mixture of left, center and right visual alignments taking place on the site above, in conjunction with the awkward empty space near the top, make for a really odd visual flow of the information being presented. </p>
<p>Further, if you visit the page above you&#8217;ll see that the content as a whole seems like it&#8217;s trying to be centered but is really thrown off by the strip across the middle, which makes the page seem quite right of center. </p>
<h2>#8 Ad Clutter</h2>
<p>Free design blogs like this one have to feature plenty of ads, it&#8217;s simply the way we make an income and continue to provide you with content. However, if you&#8217;re running a professional business site, you have to consider carefully if you want to detract from your message and professionalism with advertising. </p>
<div class="tutorialimage"><a href="http://home.live.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-8.jpg" alt="screenshot" width="510"/></a></div>
<p>The pages of Microsoft.com are littered with various ads that really bring down the aesthetic of the page that they&#8217;re on. Sometimes these ads point directly to other Microsoft pages, sometimes to other companies or partners. There&#8217;s nothing wrong with the concept of directing traffic to other parts of your site, but how you accomplish this can make a huge difference. </p>
<p>If there&#8217;s one thing most web users have learned to spot, ignore and possibly even resent, it&#8217;s a banner ad. Not to say that this type of advertising doesn&#8217;t work with proper targeting and design, or to even say that Microsoft users aren&#8217;t clicking on these, but I do wonder if there isn&#8217;t a better way.</p>
<p>If Microsoft wants to direct traffic to their mobile phones and other projects, the easy way out is to setup a cluttered, non-standard (design wise) ad system that rolls across their entire site. However, it seems like integrating this content as part of the actual site would have a much better click-through rate as more users would take note of the message and not have to break any internalized rules about avoiding banner ads at all costs. </p>
<p>Plus, such integration would force the designs to be more consistent because they are created as a single unit rather than by separate teams. Again, this is a scenario where I can understand the cost-efficiency of Microsoft&#8217;s approach, but want to caution you against following their lead. Odds are, the sites you design won&#8217;t rival the mega-network of Microsoft sites and will therefore more likely lend themselves to solid, integrated design so you can avoid the visual clutter of excess ads.</p>
<p>Obviously, there are plenty of sites genres where this doesn&#8217;t apply at all as advertising is expected to be present. Just make sure you consider whether your site should be dedicated to selling your product or service, or requires the extra income and distraction of advertising. </p>
<h2>#9 A Lack of Breathing Room</h2>
<p>In print design, designers setup every page with a &#8220;live area.&#8221; This is usually a rectangular inset from the trim of the page that defines the area in which it is safe to place content to avoid page cutoff or edge crowding. Most web designers do this intuitively as it&#8217;s fairly obvious you don&#8217;t want your content to be too far crammed up against the side of the browser. </p>
<div class="tutorialimage"><a href="http://home.live.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-9.jpg" alt="screenshot" width="510"/></a></div>
<p>However, as the screenshot above shows, there are a few Microsoft pages that don&#8217;t seem to put stock in such opinions. Instead, the content starts as soon as the page does with zero horizontal padding or margin (at least on the browsers that I checked with). </p>
<p>The navigation panel doesn&#8217;t feel like it&#8217;s built-in to the side of the page, it feels like it&#8217;s getting cutoff (again, it may be doing just that due to the fact that I don&#8217;t have IE). The lesson here is simple: always be conscious of the edge of the browser window. Unless you&#8217;re breaking the rule for an obvious visual bleed effect, place your content, especially interactive portions and links, well within a safe margin so that users don&#8217;t feel crowded when they try to use it. </p>
<p>If you look closely at the screenshot above you can see some more examples of Microsoft&#8217;s designers simply not considering whether or not their text will flow properly on all major browsers. This is quite the amusing trend for Microsoft as many web designers spend their days attempting to make special accommodations for Microsoft&#8217;s Internet Explorer, but the multi-billion dollar company can&#8217;t be bothered to return the favor by checking their own work on other systems. </p>
<h2>#10 Failing to Leverage Your Talent</h2>
<p>Though there are plenty of negative comments above about the web designers over at Microsoft, I was pleasantly surprised to see that they do in fact have quite a few sites and pages that look simply amazing. </p>
<div class="tutorialimage"><a href="http://home.live.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-10.jpg" alt="screenshot" width="510"/></a></div>
<p>The examples above are just two of the many places I believe Microsoft really knocked it out of the park with their layout, color choices, graphics, and cross-browser compatibility. What this tells me is that somewhere among the vast pool of cubicles in this company there sits some really talented individuals capable of taking the company completely out of its design slump. </p>
<p>These designers, whoever they are, should be promoted to positions that would allow them to cooperate together and set consistent standards that literally every Microsoft web designer would be forced to follow. In place of a labyrinth of disconnected jumbles of content they could create a strongly branded network of beautiful sites that all clearly belong in the same family. </p>
<p>The final suggestion I present to you is to find these types of outstanding individuals in your own company and give them a voice. Rather than lamenting at the lack of talent among the other members of your team, appoint the strongest designers and developers to positions where they can influence every piece of visual communication that rolls out associated to a specific brand. </p>
<p>This can be done efficiently and effectively by creating clear, consistent and strict brand guidelines that are distributed to every designer and developer for every distinct brand that you work with. </p>
<h2>Closing Thoughts</h2>
<p>To sum up, though Microsoft possesses quite a few extremely talented web designers, the work of these individuals is almost completely overshadowed by the vast amount of content that doesn&#8217;t even meet standards that we would expect from rookie designers and developers in their first year. </p>
<p>Fortunately, we can use companies like Microsoft as instructional aids to clearly illustrate that there is in fact a wrong way to do things. Never imagine that just because you&#8217;re a lonely freelancer or small design firm that you can&#8217;t completely outperform mega-corporations and design firms when it comes to the quality of work you produce. </p>
<p>I&#8217;ve found that it is often easier to find examples of quality designers in home offices around the world than sitting at the desks of large firms. Take comfort in the fact that you don&#8217;t have to coordinate and control the quality of hundreds of designers. Do your best to create some of the best sites on the web with the small amount of resources you possess in conjunction with a mass amount of personal drive to create beautifully functional designs. </p>
<p><em>Like the article? Be sure to subscribe to our <a href="feed://feeds.feedburner.com/designshack">RSS feed</a> and follow us on <a href="http://twitter.com/designshack">Twitter</a> to stay up on recent content.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/accessibility/learning-from-microsoft-10-design-pitfalls-to-avoid/feed/</wfw:commentRss>
		<slash:comments>57</slash:comments>
		</item>
		<item>
		<title>12 Tips for a More Accessible Website</title>
		<link>http://designshack.net/articles/accessibility/12-tips-for-a-more-accessible-website/</link>
		<comments>http://designshack.net/articles/accessibility/12-tips-for-a-more-accessible-website/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 16:40:01 +0000</pubDate>
		<dc:creator>Tom Walker</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=6708</guid>
		<description><![CDATA[Making your website accessible to everyone is not only a moral duty, it&#8217;s a legal obligation. Many organizations, including the International Olympic Committee, have been sued for not making their websites accessible enough. With 50 million Americans suffering from some disability or other, improving your site&#8217;s accessibility makes clear commercial sense too. It&#8217;s not just [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorialimage"><a href="http://www.flickr.com/photos/stephenjohnbryde/3323718703/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/leader.jpg" alt="screenshot" width="510"/></a></div>
<p>Making your website accessible to everyone is not only a moral duty, it&#8217;s a legal obligation. Many organizations, including the International Olympic Committee, have been sued for not making their websites accessible enough. With 50 million Americans suffering from some disability or other, improving your site&#8217;s accessibility makes clear commercial sense too.</p>
<p><span id="more-6708"></span></p>
<p>It&#8217;s not just those labeled as &#8216;disabled&#8217; who stand to gain either. Research suggests that 57% of adult computer users will benefit from enhanced accessibility of some kind. Only 19% of websites currently meet the most basic accessibility requirements, so you can really stand out from the competition by making a few changes to your site.</p>
<p>In this article, we explore 12 ways in which you can make your site more accessible. Some methods are very cheap and quick to implement, others require a little more time and financial investment, but you should think of them as business opportunities. With the internet so central to all of our lives these days, it&#8217;s unfair that some people are being left behind.</p>
<h3>1. <a href="http://www.w3.org/WAI/intro/aria">WAI-ARIA</a></h3>
<div class="tutorialimage"><a href="http://www.w3.org/WAI/intro/aria"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/1-wai-aria.jpg" alt="screenshot" width="510"/></a></div>
<p>When improving your site&#8217;s accessibility, your first port of call should be a set of documents, published by the Worldwide Web Consortium, called WAI-ARIA. These documents basically set out the ways in which developers should add metadata to HTML for improved accessibility.</p>
<h3>2. <a href="http://www.smashingmagazine.com/2009/04/22/progressive-enhancement-what-it-is-and-how-to-use-it/">Progressive Enhancement</a></h3>
<div class="tutorialimage"><a href="http://www.smashingmagazine.com/2009/04/22/progressive-enhancement-what-it-is-and-how-to-use-it/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/2-progresive-enhancement.jpg" alt="screenshot" width="510"/></a></div>
<p>Progressive enhancement means designing a website in a layered fashion so that everyone can access the most basic functions and users with better bandwidth and advanced browsers can see an enhanced version. Sites built using a strategy of progressive enhancement can be read much more easily by screen reading software, used by people with a range of disabilities.</p>
<h3>3. <a href="http://jimthatcher.com/webcourse2.htm">Alternate Content</a></h3>
<div class="tutorialimage"><a href="http://jimthatcher.com/webcourse2.htm"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/3-alternative-images.jpg" alt="screenshot" width="510"/></a></div>
<p>It&#8217;s absolutely vital that you provide a text equivalent for non-text content in your site. Images and videos need alt tags, so that people using screen reading software can find out exactly what&#8217;s on a page. Links need relevant title tags too.</p>
<h3>4. <a href="http://www.w3.org/TR/WCAG10-HTML-TECHS/">Captions</a></h3>
<div class="tutorialimage"><a href="http://www.w3.org/TR/WCAG10-HTML-TECHS/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/4-captions.jpg" alt="screenshot" width="510"/></a></div>
<p>As well as alt tags, images, audio and video clips need captions, so that the visually impaired know exactly what they&#8217;re looking at. If you&#8217;re uploading videos or podcasts, provide a paragraph of text summarizing its contents, or even better, provide a full transcript. Don&#8217;t forget, captions really help with SEO too.</p>
<h3>5. <a href="http://atto.buffalo.edu/registered/ATBasics/Curriculum/Reading/textScreen.php">Screen Reading Software</a></h3>
<div class="tutorialimage"><a href="http://atto.buffalo.edu/registered/ATBasics/Curriculum/Reading/textScreen.php"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/5-screen-reading-software.jpg" alt="screenshot" width="510"/></a></div>
<p>Most blind and partially sighted people use screen reading software when browsing websites. One of the best ways to make sure that your website is accessible to them is to try using the same software yourself. Turn off your monitor and run the software to find out exactly what your site&#8217;s saying to these valuable readers and potential customers. If the software starts spouting gibberish, you know you need to make some changes!</p>
<h3>6. <a href="http://www.userfocus.co.uk/consultancy/accessibility.html">Audit</a></h3>
<div class="tutorialimage"><a href="http://www.userfocus.co.uk/consultancy/accessibility.html"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/6-audit.jpg" alt="screenshot" width="510"/></a></div>
<p>No amount of accessibility testing you do yourself can compare to having a real specialist cast their expert eye over your site. There are a number of companies and individuals who will carry out an accessibility audit for you, telling you exactly which changes you need to make.</p>
<h3>7. <a href="http://www.webcredible.co.uk/user-friendly-resources/web-usability/usability-testing.shtml">Usability Testing</a></h3>
<p><a href="http://www.webcredible.co.uk/user-friendly-resources/web-usability/usability-testing.shtml">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/7-usability-testing.jpg" alt="screenshot" width="510"/></a></div>
<p>Usability testing is another valuable way to identify potential accessibility problems with your site. Get a group of people with a range of different needs to try your site out for real, navigating around and performing tasks. They&#8217;ll be able to tell you in detail about any problems they encounter, lots of which, you&#8217;re bound to find, will not be included in WAI-ARIA guidelines.</p>
<h3>8. <a href="http://articles.sitepoint.com/article/sheets-greater-accessibility">Stylesheets</a></h3>
<div class="tutorialimage"><a href="http://articles.sitepoint.com/article/sheets-greater-accessibility"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/8-stylesheets.jpg" alt="screenshot" width="510"/></a></div>
<p>When you&#8217;re building or redesigning your site, make sure that your stylesheets permit variable font sizes and never use fixed fonts. You&#8217;d be amazed by how many users, from old people to those with slightly poor eyesight, resize their fonts on a regular basis.</p>
<h3>9. <a href="http://kb.mozillazine.org/Accessibility_features_of_Firefox">Font Controls</a></h3>
<div class="tutorialimage"><a href="http://kb.mozillazine.org/Accessibility_features_of_Firefox"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/9-font-controls.jpg" alt="screenshot" width="510"/></a></div>
<p>Firefox and Internet Explorer users can enlarge fonts but lots of people are not aware of this and others still are using older browsers that do not have this capability. For them, consider embedding font resizing controls into your site.</p>
<h3>10. <a href="http://www.skillsforaccess.org.uk/howto.php?id=105">Consistency</a></h3>
<div class="tutorialimage"><a href="http://www.skillsforaccess.org.uk/howto.php?id=105"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10-consistency.jpg" alt="screenshot" width="510"/></a></div>
<p>Consistency in design from page to page is really important for people who can&#8217;t take in a whole page at a glance, and those using screen readers. If you&#8217;re site&#8217;s consistent, with the same things in the same place on each page, they&#8217;ll be able to get to navigate around much more easily. Sighted users often find consistency beneficial too.</p>
<h3>11. <a href="http://www.usability.com.au/resources/menus-links.cfm">Text for Navigation</a></h3>
<div class="tutorialimage"><a href="http://www.usability.com.au/resources/menus-links.cfm"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/11-text-navigation.jpg" alt="screenshot" width="510"/></a></div>
<p>Avoid using images for navigation on your site, at all costs. Use text instead. Screen readers can understand it and it&#8217;s much easier to resize. If your navigation controls can&#8217;t be enlarged, make sure they&#8217;re written in a clear font, at least 16 point in size.</p>
<h3>12. <a href="http://evolt.org/Understanding_Color_and_Accessibility">Colors</a></h3>
<div class="tutorialimage"><a href="http://evolt.org/Understanding_Color_and_Accessibility"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/12-colors.jpg" alt="screenshot" width="510"/></a></div>
<p>Using different colors in websites is great, but you have to consider how they work together to create a clear image. Foreground and background colors must contrast sufficiently and you can forget about using light-grey text it&#8217;s difficult enough for people with 20-20 vision to read. Links must be a different color from the rest of the text on your site, preferably blue and always underlined.</p>
<h2>Conclusion</h2>
<p>Accessibility is an often overlooked aspect of web design, but it&#8217;s something that should be at the core of your design process right from the start when you&#8217;re wireframing a layout. Without sounding too self-serving, ensuring that your website meets the standard for accessibility means one thing: more happy customers. And you know what that means!</p>
<p>Use the comments below to tell us if you agree with the tips above and how you&#8217;ve made your site more accessible.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/accessibility/12-tips-for-a-more-accessible-website/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Why You Should Build a Front End Package</title>
		<link>http://designshack.net/articles/css/why-you-should-build-a-front-end-package/</link>
		<comments>http://designshack.net/articles/css/why-you-should-build-a-front-end-package/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 14:41:41 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=5680</guid>
		<description><![CDATA[How do you begin building a website? The majority of developers probably start from scratch or pull in a few resources from previous sites. The more organized among us have developed a custom toolbox from which to begin a site that proves to be an essential part of their workflow. Today we&#8217;ll discuss why you [...]]]></description>
			<content:encoded><![CDATA[<p class="lead">How do you begin building a website?</p>
<p>The majority of developers probably start from scratch or pull in a few resources from previous sites. The more organized among us have developed a custom toolbox from which to begin a site that proves to be an essential part of their workflow. </p>
<p>Today we&#8217;ll discuss why you should consider building your own front end package to serve as a starting point for every single site you create.</p>
<p><span id="more-5680"></span></p>
<h2>What Is a Front End Package?</h2>
<p>What I mean by front end package is essentially a set of tools and conventions that standardize certain elements of the web development process. The inspiration for this article comes from the creative minds at <a href="http://erskinedesign.com/">Erskine Design</a>. As a designer, you&#8217;re probably a visual thinker so we&#8217;ll cut straight to the diagram:</p>
<h4>The Basic Outline or Erskine&#8217;s Ultimate Front End Package</h4>
<div class="tutorialimage"><a href="http://erskinelabs.com/post/the-process-toolbox-part-seven-convention/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/UP-outline.jpg" alt="screenshot" width="510"/></a></div>
<p>As you can see, Erskine has essentially built a basic framework from which to jump off for major web design projects. They sum it up as <strong><em>&#8220;a bumper compendium of cascading and connected CSS files, naming conventions, modules, plugins and library scripts that ensure any project led or worked on by any member(s) of the team will stay on convention, and be simpler for anyone else to step into and work with at any time.</em></strong>&#8221; </p>
<p>Possessing such a framework can be invaluable for a number of reasons, which we&#8217;ll discuss below. The argument posed by some is that such a framework or toolkit is not only helpful, but absolutely necessary. Erskine Design&#8217;s Simon Collison goes so far as to say &#8220;Without question or compromise, every website needs to be built with a solid foundation layer and an <em>Ultimate Package</em>.&#8221;</p>
<p>Let&#8217;s take a look at some of the benefits from, and reasons for, building your own custom front end package. (Based on some of the suggestions from <a href="http://www.slideshare.net/collylogic/developing-your-ultimate-package">Erskine&#8217;s Presentation, found here</a>)</p>
<h2>Elimination of Repetition</h2>
<p>This is the most basic and understandable reason for developing a front end package. Every time you start to build a site you go through several setup steps such as forming the bare HTML structure, creating the external CSS files, linking the HTML to the external CSS,  importing jQuery and/or any other JavaScript libraries you often use, etc. Developing a front end package recovers all of this lost time by making it extremely easy to start a new site: just copy the folder containing the framework and you&#8217;re up and running. </p>
<p>You might argue that these tasks don&#8217;t take a significant amount of time or are even necessary to get your brain into a web development mindset. To answer these arguments I would first suggest that you time yourself to see just how long you lose on every project getting your file hierarchy in place, setting up and loading scripts and styles, figuring out naming conventions, and fixing sloppy mistakes. I&#8217;ll wager it&#8217;s a lot more than you think. Finally, to the latter argument I would challenge you to retrain your brain to accept a new part of the process as the beginning. Try jumping right into experimentation with your system in place and discover how much nicer it is to skip all of the tedious, repetitive tasks.</p>
<h2>Standardization</h2>
<p>Standardization is a major benefit from using a prefab toolkit. Every time you start a new project, you might do things slightly different. This can be something big, like changing the way you layout your HTML, or something small, like deciding on a new naming convention. This can make it extremely difficult for others to follow your work or even for you to go back later and remember how you were doing things at the time.</p>
<p>As you develop your front end package, keep standardization at the forefront of your mind. Decide on the best way you know to do every little thing and stick with those conventions through every project you start. Markup your comments the same way, organize your CSS the same way, use the same variable naming conventions, utilize the same folder hierarchy, use the same CSS resets, etc. Taking all the little decisions and guesswork out of your system has the benefit of streamlining the entire development process to ensure you&#8217;re creating a discernible, organized site as quickly as possible.</p>
<p>This is not to say you should decide on a system and stick with it permanently. Let it evolve as you learn and discover better methods, just don&#8217;t integrate new methods flippantly or frequently enough to void the usefulness of the entire package. When you decide on a better way to do something, make sure you are absolutely certain that it will improve your system and be sure to make a note outlining the change and when it was integrated so you know what to expect from older projects. </p>
<h2>Better Collaboration</h2>
<p>This is where a front end package crosses over from &#8220;nice to have&#8221; to &#8220;absolutely essential.&#8221; When you&#8217;re working with a team of developers on a large project, one of the biggest inefficiencies you can have is a failure to get everyone on the same page from the outset of the project. </p>
<p>If you&#8217;ve got Bill structuring his part of the project one way, Jill structuring her part another way, and Will trying to keep up with both Bill&#8217;s and Jill&#8217;s methods, things are going to get messy fast (and not just because all of your employees&#8217; names happen to rhyme). This will inevitably lead to long meetings spent arguing over trifles. If you have team members that have already started a project using certain conventions, you can bet they&#8217;re going to defend that method to the death to avoid going back and fixing what they consider to be finished work. This is why it&#8217;s extremely important to develop a front end package in cases where significant collaboration is involved. You&#8217;ll probably still have to hold a meeting to decide on specific conventions to follow, but you&#8217;ll find that team members are much more flexible to new methods if it doesn&#8217;t require backtracking. </p>
<p>The key takeaway here is to develop a system before a project begins, not during. This will increase the chance of acceptance and prevent a lot of incompatibility issues down the road. Also, be sure to include your team in the decision making process. This is hugely important to the success of the package for a number of reasons. First, it&#8217;s always a bad idea for management to create a system to streamline a given task without consulting the people who are closest to that task. No matter how many more college degrees you have than the people under you, chances are they are the single best authority on what will and won&#8217;t work. Finally, apart from the issue of effectiveness is again the issue of acceptance. If you hand your team a set of guidelines that they&#8217;ve had no part in developing, they will drag their feet and complain the entire way because you are forcing them into something they don&#8217;t want to do. However, if you let team members from every level actively participate in the development of the conventions, they are much more likely to conform to the new system because they aided in its creation and direction.</p>
<h2>Quality Control</h2>
<p>Developing a front end package allows you to implement a certain degree of quality control across the members of your team from the outset of the project. It ensures common mistakes, such as grabbing the wrong doc type or forgetting to include a certain browser specific style sheet, aren&#8217;t made. Further, having a strict system in place can help prevent intentionally sloppy work. In a mad rush to get a project going, developers will often use non-standards compliant code, vague variable names, obscure tricks, and any number of other shortcuts with the argument that they will go back and fix these things later. The problem of course is that there usually isn&#8217;t time to go back and fix these things later in the project as you approach key deadlines. Many of these problems will disappear if your foster a culture that avoids such practices and discourages straying from agreed upon conventions.</p>
<h2>In Regard to Design &#038; Innovation</h2>
<p>Before I close and ask to hear your opinions, I want to preempt an argument that might arise. Many see common conventions and strict rules as something that will cripple the design process, virtually eliminating any room for creativity or innovation. This simply is not the case in this instance and is in fact the opposite result of what a well-designed front end package will provide.</p>
<p>A good front end package will actually allow you to focus more on the creative elements of the development process through standardization of areas that eat up time and whose variation would not making a significant difference in the end result. What I mean by this is that such elements as your folder hierarchy will go completely unnoticed by the end user and are therefore not the place to focus your creativity on every single project. The idea here is to get through the boring stuff in one fell swoop so that you can quickly dig into the things that do, and should, vary from site to site; the things that make each site unique. With this type of system in place, you can spend more time developing original user interfaces, choosing custom color schemes, trying different font-families and coding innovative functions.</p>
<p>If the system you come up with hinders the creative process, it simply isn&#8217;t doing its job and should therefore be scrapped in favor of a trip back to the drawing board. </p>
<h2>Free Resources</h2>
<p>Sold on the idea of developing your own front end package but don&#8217;t know where to begin? Here are some free resources to get you started.</p>
<ul>
<li><a href="http://perishablepress.com/press/2007/10/23/a-killer-collection-of-global-css-reset-styles/">A Killer Collection of Global CSS Reset Styles</a></li>
<li><a href="http://html.comsci.us/examples/blank.html">HTML Blank Page Examples</a></li>
<li><a href="http://digital-crocus.com/kb/43_A_Simple_PHP_Template_System.html">A Simple PHP Template System</a></li>
<li><a href="http://code.google.com/apis/ajaxlibs/">Google Code: Hosted JavaScript Libraries (jQuery, MooTools, etc)</a></li>
<li><a href="http://www.intensivstation.ch/en/templates/">16 Basic CSS Layout Templates</a></li>
</ul>
<h2>Speak Your Mind</h2>
<p>The above represents my long-winded argument for why I believe Erskine Design is right in asserting that every website should be built from a strong, standardized and preset foundation. Let us know if you think developing such a system is worth your time. Better yet, if you have a system in place, let us know how it works!</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/css/why-you-should-build-a-front-end-package/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>HTML5: Get It Working Today (4 of 4)</title>
		<link>http://designshack.net/articles/html/html5-get-it-working-today-4-of-4/</link>
		<comments>http://designshack.net/articles/html/html5-get-it-working-today-4-of-4/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 14:15:33 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=2499</guid>
		<description><![CDATA[This will be the final article in our series on HTML5. This go around we&#8217;ll have a brief look at which new HTML5 technologies major browsers are officially supporting and go over some techniques you can use to take advantage of the new elements in your coding today. Finally, we&#8217;ll discuss how you should start [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/Today.png" alt="screenshot" width="510" /></div>
<p>This will be the final article in our series on HTML5. This go around we&#8217;ll have a brief look at which new HTML5  technologies major browsers are officially supporting and go over some techniques you can use to take advantage of the new elements in your coding today. Finally, we&#8217;ll discuss how you should start preparing to support HTML5 in all the sites you build from here forward.</p>
<p><span id="more-2499"></span></p>
<h3>What Features Are Major Browsers Officially Supporting?</h3>
<p>For the purpose of this article, we&#8217;ll define &#8220;official support&#8221; as listed in the documentation from the browser&#8217;s developer. This will ensure that no hacks or tricks are required to use the new features and will instead focus on native implementation straight from the source (feel free to add your own commentary based on the results of your own tests!). With that in mind, let&#8217;s take a look at the current iterations of a few major browsers.</p>
<h3>Firefox 3.5</h3>
<p>Head over to the <a href="https://developer.mozilla.org/En/Firefox_3.5_for_developers">Firefox Developer Page</a> and you&#8217;ll see a brief description on HTML5 support. Here&#8217;s a list of supported features:</p>
<ul>
<li>audio element</li>
<li>video element</li>
<li>canvas element</li>
<li>Offline resource specification</li>
<li>Drag and Drop API</li>
</ul>
<h3>Safari 4</h3>
<p>The <a href="http://www.apple.com/safari/features.html#technologies">Safari 4 features list</a> mentions support for the following features:</p>
<ul>
<li>audio and video elements (and associated API)</li>
<li>canvas element (actually created by Apple for Dashboard)</li>
<li>Offline Application Support</li>
</ul>
<h3>Internet Explorer 8</h3>
<p>Though the <a href="http://msdn.microsoft.com/en-us/library/cc288472(VS.85).aspx">Internet Explorer Developer Center</a> claims &#8220;strong support&#8221; for HTML5, there doesn&#8217;t seem to be any support for the canvas element (probably due to Silverlight), audio/video elements, or the offline application API. Here&#8217;s a complete list of IE 8&#8242;s <a href="http://msdn.microsoft.com/en-us/library/ms533029(VS.85).aspx">supported elements</a>, none of which seem to be exclusively from HTML5. I did however, find mention of support the new <a href="http://msdn.microsoft.com/en-us/library/cc511311(VS.85).aspx">Cross-Document Messaging</a> API. Feel free to share any resources you have on HTML5 support in IE 8 using the comments below. </p>
<h3>Opera 10</h3>
<p>Opera&#8217;s developer site posted an <a href="http://dev.opera.com/articles/view/the-first-working-draft-of-html-5-is-her/">article about HTML5</a> in January containing existing support. Here are the features that article lists as currently supported by Opera 10:</p>
<ul>
<li>video element</li>
<li>canvas element</li>
<li>Cross-document messaging</li>
<li>Server-sent events</li>
<li>Web Forms 2.0</li>
</ul>
<p>Further, here&#8217;s a report on <a href="http://www.opera.com/docs/specs/presto23/#html">current web specifications </a> supported in Opera Presto 2.3 (Opera&#8217;s rendering engine). </p>
<h3>Google Chrome</h3>
<p>Unable to find an official list straight from Google, I was forced to turn to an <a href="http://radar.oreilly.com/2009/05/google-bets-big-on-html-5.html">O&#8217;reilly article</a> outlining a speech made by Google&#8217;s VP of engineering on HTML5 and the future of web technologies. In his speech, Vic Gundotra listed the these features as being supported by Google Chrome (as well as Firefox, Safari and Opera):</p>
<ul>
<li>video element</li>
<li>canvas element</li>
<li>geolocation API</li>
<li>App cache (offline wep app API) </li>
<li>Database API</li>
<li>Web Workers (background thread processing)</li>
</ul>
<h3>Cheating</h3>
<p>As you can see, even the browsers that have the most support for HTML5 still don&#8217;t natively support even half of the new features and elements we&#8217;ve discussed in recent articles. Which means using HTML5 today will not be as easy as simply throwing in the semantic changes that you&#8217;ve learned. What we&#8217;ll need is a way to create the new elements in HTML5 using only the widely used and supported web technologies of today. As it turns out, JavaScript offers a simple, native method for doing exactly this! By using <strong>document.createElement</strong>, we can make our own custom elements that conform to the specifications of those supported in HTML5. Sure it&#8217;s a bit of a hack, but it&#8217;s the closest thing you&#8217;ll get to getting your hands on all of the new elements in the near future. Let&#8217;s use the example from our previous article to see what this would look like.</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;">body</span>&gt;</span>
	<span style="color: #009900;">&lt;aside&gt;</span>
&nbsp;
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>General Info<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;nav&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>Home<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>About<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>Contact<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>    
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>nav&gt;</span>
&nbsp;
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;nav&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>HTML5 Tuts<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>CSS3 Tuts<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>  
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>nav&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>aside&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;section&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>HTML5 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free HTML5 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>HTML Tutorial 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>HTML Tutorial 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;footer&gt;</span>6 hours of free tutorials!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>section&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;section&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>CSS3 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free CSS3 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>CSS Tutorial 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>CSS Tutorial 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;footer&gt;</span>4 hours of free tutorials!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>section&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span></pre></div></div>

<p>As you can see, this page uses the HTML5-only elements header, footer, article, aside, nav and section. All we have to do to get this to work is create those elements in JavaScript:</p>

<div class="wp_syntax"><div class="code"><pre class="js" style="font-family:monospace;">&lt;script type=&quot;text/javascript&quot;&gt;
       document.createElement('header');
       document.createElement('footer');
       document.createElement('section');
       document.createElement('aside');
       document.createElement('nav');
       document.createElement('article');
&lt;/script&gt;</pre></div></div>

<p>Voila! Now you can target those elements in CSS just as if they were native elements. <strong>Warning:</strong> this method can produce widely varied results and you should use at your own risk. If someone visits your site with JavaScript turned off, your CSS won&#8217;t take hold and your nice, pretty HTML5 website will look like it was attacked by Godzilla. However, this method is great for your own experimentation and should work with all major browsers. </p>
<h3>Further Testing</h3>
<p>In my own testing, both Safari and Firefox seemed to handle all of the new elements listed above without any JavaScript whatsoever. If you take a look at the code, you can see that Apple&#8217;s own <a href="LINK">Safari 4 about page</a> uses several new HTML5 elements and only implements JavaScript in the case of Internet Explorer. Try this out on your browser and let us know what you come up with!</p>
<h3>Preparing for HTML5</h3>
<p>On his site, <a href="http://jontangerine.com/log/2008/03/preparing-for-html5-with-semantic-class-names">Jon Tangerine</a> make the suggestion that we should start preparing ourselves for HTML5 by getting used the structure inherent in the semantic changes. What this means practically is fairly simple, use classes to mimic the structure of an HTML5 page. This method is not browser-specific, adheres to all currently popular standards, does not rely on scripting, and is super easy to implement. For example, we would take all of the header tags in the code above and convert them to <strong>&lt;div class class=&#8221;header&#8221;></strong> and use the normal class markup in for targeting in CSS. </p>
<p>Now, if you really want to properly prepare yourself for HTML5, don&#8217;t just go throwing the terms header, footer, section, etc. around. Force yourself to use these terms semantically, as if they were the actual HTML5 elements. First of all, this means using <strong>class</strong> instead of <strong>id</strong> where applicable. It also means adhering to the strict HTML5 guidelines in place for each element (outlined in the previous article). One example of this would be to only use a <strong>nav</strong> class on major navigational areas of a page and not for minor navigational links such as those found in a page footer. </p>
<h3>5 Sites Using HTML5</h3>
<p>Despite the fact that my official advice is that HTML5 won&#8217;t be ready for popular use for some time, I have to admire sites that are taking the initiative to usher in the future of web development by using HTML5 today. Here are five sites that do just that. Just click on a pic to view the site. Be sure to take a look at the code each developer used to get an idea of the structure of a few real world examples of HTML5. Also, if you&#8217;ve developed a site in HTML5, we want to see it! Leave a URL in the comments so we can check it out.</p>
<p><a href="http://www.rubious.co.uk/">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/rubious.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p><a href="http://www.johnantoni.com/">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/johnSite.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p><a href="http://pat-speeder.co.cc/">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/rocket.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p><a href="http://www.sushimonstr.com/">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/sushi.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p><a href="http://www.joffeedesign.com/">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/joffee.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<h3>Conclusion</h3>
<p>Well that concludes our four part series on HTML5. We&#8217;ve gone over the basics, how to use a select few new elements, major semantic changes, and how to implement HTML5 right now. I hope you&#8217;ve learned a ton and are now more excited and less apprehensive about the future of HTML. Your feedback is instrumental in what articles we choose to write so tell us what you thought of the series and what you&#8217;d like to see us go over in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/html/html5-get-it-working-today-4-of-4/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>HTML5: Semantic Changes (3 of 4)</title>
		<link>http://designshack.net/articles/html/html5-semantic-changes-3-of-4/</link>
		<comments>http://designshack.net/articles/html/html5-semantic-changes-3-of-4/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 14:15:39 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=2424</guid>
		<description><![CDATA[In the last article, we looked at a number of new elements introduced in HTML5 and how to implement them properly. In this article, we’ll again be discussing a set of new elements but this time we’ll be examining only those HTML5 elements that represent a significant semantic change to the way you structure your [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/Semantics.jpg" alt="screenshot" width="510" /></div>
<p>In the last article, we looked at a number of new elements introduced in HTML5 and how to implement them properly. In this article, we’ll again be discussing a set of new elements but this time we’ll be examining only those HTML5 elements that represent a significant semantic change to the way you structure your sites. This article will cover how to use each of these new elements in a way that will bring much needed relief to the div-itus that plagues the structure of so many sites today. </p>
<p><span id="more-2424"></span></p>
<h3>Semantics?</h3>
<p>Before we get started, you should know that by semantics I’m simply referring to using HTML tags and elements the way they were intended to be used. Unlike programming languages, which have to compile to run, HTML requires no compiler (the browser attempts all the interpretation) and therefore gives you a vast amount of freedom to use a given element any way you want. However, if you’re a new web designer you’re probably discovering that many people are semantic fanatics, and perhaps rightfully so. Using tables where they don’t belong or throwing around <strong>&lt;h1></strong> tags every time you want to bold something might be convenient, but it makes for some incredibly messy and hard to read code. Therefore, we look to semantic, cross-browser, valid HTML practices to bring unity and consistency to sites all across the web. Many of the HTML5 elements we’ll be looking at will be easy enough to interpret simply by reading the name, but familiarizing yourself with the correct way to implement these elements is absolutely crucial if you want to create professional quality sites that function in a number of major browsers. </p>
<h3>The Problem</h3>
<p>Take a look at 100 different websites with nearly identical layouts and you will find 100 different structures and naming conventions in the underlying HTML. Even though any good web developer will name his/her &lt;div>s in such a manner that they are easily understood, the vast possibilities can lead to confusion over the identification of relatively simple and uniform sections of code. For this reason, HTML5 gives us a number of elements that can be used to identify and target items that appear in almost every site on the web such as headers, footers and navigation menus. Furthermore, apart from inconsistent naming conventions, the current way of doing things can quickly lead to div structures that come with a lot of extra weight compared to simple, built-in HTML elements. To illustrate, let’s look at a simple structure you might find in HTML4.</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;">body</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav_bar&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;main_header&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;side_bar&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;container&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;section&quot;</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;header&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Some Text<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;footer&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;section&quot;</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;header&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Some Text<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;footer&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;main_footer&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span></pre></div></div>

<p>You can see how this relatively simple piece of code is overrun by divs, which can take a long time to sort though due to all of the necessary fluff. The CSS to work with this HTML would contain the following selectors:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#nav_bar</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#main_header</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.side_bar</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#container</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.section</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#header</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.section</span> p <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.footer</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#main_footer</span></pre></div></div>

<p>Though not as complicated as the HTML before it, this code isn’t as simple as it could be. Now let’s dive into how HTML5 helps us solve this problem.</p>
<h3>The Solution</h3>
<p>HTML5 allows us to take nearly all of the custom divs above and convert them to standard elements. Let’s look at the code necessary to accomplish the same thing in HTML5.</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;">body</span>&gt;</span>
	<span style="color: #009900;">&lt;nav&gt;&lt;<span style="color: #66cc66;">/</span>nav&gt;</span>
	<span style="color: #009900;">&lt;header&gt;&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
	<span style="color: #009900;">&lt;aside&gt;&lt;<span style="color: #66cc66;">/</span>aside&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;container&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;section&gt;</span>
			<span style="color: #009900;">&lt;header&gt;&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Some Text<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
			<span style="color: #009900;">&lt;footer&gt;&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>section&gt;</span>
		<span style="color: #009900;">&lt;section&gt;</span>
			<span style="color: #009900;">&lt;header&gt;&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Some Text<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
			<span style="color: #009900;">&lt;footer&gt;&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>section&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;footer&gt;&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span></pre></div></div>

<p>And the corresponding CSS:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">nav <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
header <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
aside <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
section <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
footer <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
section p <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#container</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#container</span> header <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#container</span> footer <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>There’s a lot to discuss about these examples so let’s start with the HTML. Notice that the chronic div-itus has disappeared and in its place are universally understood and easy to interpret elements. This vastly improves the readability of the code. One of my pet peeves when reading through someone else’s code is tracking down the correctly corresponding <strong>&lt;div></strong> and <strong>&lt;/div></strong> tags. This can take a ridiculous amount of time if there are eight or ten stranded and unlabeled closing div tags. Using standard elements goes a long way towards eliminating this problem because the closing tag is more informational (it’s easier to find <strong>&lt;/section></strong> than it is to locate a random <strong>&lt;/div></strong> that belongs to <strong>&lt;div class=”section”></strong>). </p>
<p>The CSS has been simplified as well. We can now just use identifiers without hash tags or periods in most cases because we are referring to natively supported elements instead of uniquely named divs. Notice that in our HTML this time around we were able to use the same tag for all header and footer elements (we tossed the “main” classification). This is because if we want to style headers within the container differently than the others we can just use “#container header” to target just the header elements within the container div (and we can be sure it will properly inherit the traits we want to keep). Now that we’ve gotten a glimpse of the new structural elements, let’s go over how to use each one individually.</p>
<h3>The &lt;header&gt; Element</h3>
<p>You might initially assume that the header element refers to the one principal header on the page. However, it’s really just a generic element that can be used several times throughout your code. Here’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;">body</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Tutslist&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>HTML5 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free HTML5 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>One<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Two<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Three<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Tutslist&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>CSS3 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free CSS3 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>One<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Two<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Three<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span></pre></div></div>

<p>Again we’ve replaced what would’ve normally been a bunch of divs with simpler header tags. It’s important to note that since we can have multiple header tags in a single HTML file, you shouldn’t think of the header element as a replacement for <strong>&lt;div id=””>&lt;/div></strong>, which represents a unique div appearing only once, but rather for <strong>&lt;div class=””>&lt;/div></strong>, which represents an element that appears multiple times. This is an important distinction for semantic reasons as well as CSS styling and applies to several of the elements we’ll discuss. </p>
<h3>The &lt;footer&gt; Element</h3>
<p>Most of the things I just explained about the header element also apply to the footer element, meaning it is generic and can be placed multiple times throughout your code. Obviously, footers generally (though not always) go at the end of a section of code and contain information that is secondary in nature such as the publish date, author, copyright information, etc. However, what goes into the footer is largely up to you. Here’s a quick example that builds on what we saw with the header element:</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;">body</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Tutslist&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>HTML5 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free HTML5 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>One<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Two<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Three<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
		<span style="color: #009900;">&lt;footer&gt;</span>6 hours of free tutorials!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Tutslist&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>CSS3 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free CSS3 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>One<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Two<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Three<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
		<span style="color: #009900;">&lt;footer&gt;</span>4 hours of tutorials!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span></pre></div></div>

<h3>The &lt;section&gt; Element</h3>
<p>The section element is a generic way to separate portions of your site. For instance, say an event website is divided up into “what”, “when”, and “where.” You could use &lt;section&gt; tags to make this division in your code (again, think “class” not “id”). Using our previous example, we could replace the “Tutslist” class with section elements.</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;">body</span>&gt;</span>
	<span style="color: #009900;">&lt;section&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>HTML5 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free HTML5 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>One<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Two<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Three<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
		<span style="color: #009900;">&lt;footer&gt;</span>6 hours of free tutorials!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>section&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;section&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>CSS3 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free CSS3 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>One<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Two<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Three<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
		<span style="color: #009900;">&lt;footer&gt;</span>4 hours of tutorials!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>section&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span></pre></div></div>

<p>Notice that sections frequently begin with a header element and end with a footer element, though this is by no means a necessity.</p>
<h3>The &lt;article&gt; Element</h3>
<p>I briefly mentioned the article element in my last post, forgetting completely that I was saving it for this post. However, a commenter cleverly pointed out some bad information that we should straighten out. Despite the fact that <a href="http://www.w3schools.com/tags/html5_article.asp">w3schools</a> states that the article element is strictly for external content, <a href="http://dev.w3.org/html5/spec/Overview.html#the-article-element">w3.org</a> clearly states that its actual purpose is to identify a section of your site that is intended to be independently distributable. For example, a blog post like this one could stand on its own and is not dependent on the rest of the site’s content. Further, this post is something that we actually want other sites to discuss and link to. News stories, forum posts and tutorials are good examples of this type of content. Let’s apply this to our running 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;">body</span>&gt;</span>
	<span style="color: #009900;">&lt;section&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>HTML5 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free HTML5 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>HTML Tutorial 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>HTML Tutorial 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;footer&gt;</span>6 hours of free tutorials!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>section&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;section&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>CSS3 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free CSS3 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>CSS Tutorial 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>CSS Tutorial 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;footer&gt;</span>4 hours of tutorials!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>section&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span></pre></div></div>

<p>As you can see, this is really internal content that can be referenced externally, rather than vice versa like w3schools seems to suggest. </p>
<h3>The &lt;nav&gt; Element</h3>
<p>The nav element refers to sections of your HTML containing links for navigational purposes like that in a sidebar or strip of buttons along the top of a page. However, this does not apply to all groups of navigational links on your pages. Instead, reserve this element for the main sources of navigation on your site. <a href="http://dev.w3.org/html5/spec/Overview.html#the-nav-element">w3.org</a> gives the example of a series of links in a footer as a situation that would not merit a nav element. Again we’ll revise our example to include the new element.</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;">body</span>&gt;</span>
	<span style="color: #009900;">&lt;nav&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>Home<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>About<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>HTML5 Tuts<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>CSS3 Tuts<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>Contact<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>    
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>nav&gt;</span>
	<span style="color: #009900;">&lt;section&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>HTML5 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free HTML5 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>HTML Tutorial 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>HTML Tutorial 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;footer&gt;</span>6 hours of free tutorials!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>section&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;section&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>CSS3 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free CSS3 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>CSS Tutorial 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>CSS Tutorial 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;footer&gt;</span>4 hours of tutorials!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>section&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span></pre></div></div>

<h3>The &lt;aside&gt; Element</h3>
<p>The last element we’ll discuss is aside. This element is reserved for content that is related to, but distinctly separate from the rest of the content on the page. The aside element can be used for pull quotes, advertisements, nav elements, sidebars, etc. For instance, let’s say we wanted to take our navigation from the last example and place it into a sidebar:</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;">body</span>&gt;</span>
	<span style="color: #009900;">&lt;aside&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>General Info<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;nav&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>Home<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>About<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>Contact<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>    
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>nav&gt;</span>
&nbsp;
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;nav&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>HTML5 Tuts<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>CSS3 Tuts<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>  
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>nav&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>aside&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;section&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>HTML5 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free HTML5 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>HTML Tutorial 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>HTML Tutorial 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;footer&gt;</span>6 hours of free tutorials!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>section&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;section&gt;</span>
		<span style="color: #009900;">&lt;header&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>CSS3 Tutorials<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Completely Free CSS3 Training<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>header&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>CSS Tutorial 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;article&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>CSS Tutorial 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Lots of good good information<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span>
		<span style="color: #009900;">&lt;footer&gt;</span>4 hours of free tutorials!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>footer&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>section&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span></pre></div></div>

<h3>Look Ma, No Divs!</h3>
<p>The example above illustrates the exceptionally large amount of code that HTML5 allows us to execute using only standard elements! Every piece of this example is super easy to target in CSS, instantly understandable by any developer (at least any developer who is versed in HTML5), and incredibly concise compared to the amount of code this would require in HTML4.  And there’s not a div in sight. </p>
<h3>Conclusion</h3>
<p>This article briefly described the concept and importance of semantic code and discussed the major semantic changes brought about by HTML5. We discovered how to properly use six incredibly helpful new HTML5 elements: header, footer, section, article, nav and aside. Finally, we learned how these new elements can be used to create neatly structured and easily readable code that avoids the excessive use of divs. </p>
<p>To prevent confusion (and to avoid a flurry of angry comments), I should make it clear that there is absolutely nothing wrong with divs. I personally use divs quite liberally throughout every site I create and find them to be among the most flexible and essential elements in HTML. However, the more you can replace uniquely named divs with universally named elements the more reliable and standards-accurate your code will become.  </p>
<h3>Looking Ahead: Three Down, One to Go!</h3>
<p>The next article will be the final in our series on HTML5. As you probably know by this point, none of what I’ve showed you is ready to be integrated into websites for widespread public viewing. However, our next article will show you various tricks to start using HTML5 right away and discuss how you should be preparing your sites for the inevitable update!</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/html/html5-semantic-changes-3-of-4/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>HTML5: New Elements (2 of 4)</title>
		<link>http://designshack.net/articles/html/html5-new-elements-2-of-4/</link>
		<comments>http://designshack.net/articles/html/html5-new-elements-2-of-4/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 14:20:33 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=2163</guid>
		<description><![CDATA[A couple of days ago we posted an introduction to HTML5 and briefly covered some of the content we’ll be outlining in this series. Today’s post, which is the second in the series of four, will take a look at how to use six of the new elements in HTML5: canvas, article, audio, video, meter, [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/NewElements.jpg" alt="screenshot" width="510" /></div>
<p>A couple of days ago we posted an introduction to HTML5 and briefly covered some of the content we’ll be outlining in this series. Today’s post, which is the second in the series of four, will take a look at how to use six of the new elements in HTML5: canvas, article, audio, video, meter, and mark.</p>
<p>Keep in mind that HTML5 is not exactly ready for widespread use &#8211; so don’t go changing anything on your site quite yet. Be assured that HTML5 is in fact coming soon, therefore these concepts may prove useful in the near future.</p>
<p><span id="more-2163"></span></p>
<h3>The Canvas Element</h3>
<p>The &lt;canvas&gt; element is a new container for graphics. Note that the canvas  is merely that, an area where graphics can be placed. The &lt;canvas&gt; element should contain only two attributes: width and height.  Here’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;">html</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;testscript.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span> <span style="color: #000066;">onload</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;draw();&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;canvas <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;graphicsCanvas&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;600&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;600&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></pre></div></div>

<p>The actual drawing for this example is done in JavaScript. The key to implementing the graphics in your script is to reference a context through the method <strong>getContext</strong>. For now the only context you can call is “2d”. Think of the 2d context as your actual drawing plane (defined by the HTML canvas size) beginning at coordinates 0,0 (the very top left of the screen). To draw an item, you first decide at what coordinates the item will begin. For example, if you want to draw something that’s ten pixels in from the left and ten pixels in from the top, your coordinates are (10,10).</p>
<p>There are a number of ways to use the 2d context to create graphics. Everything from simple rectangles to curves and gradients are supported. For our purposes, we’ll keep it simple just to get you started. Here’s the JavaScript, implementing the principles outlined above:</p>

<div class="wp_syntax"><div class="code"><pre class="js" style="font-family:monospace;">   function draw() {
      var canvas = document.getElementById(&quot;graphicsCanvas&quot;);
      if (canvas.getContext) {
        var context = canvas.getContext(&quot;2d&quot;);
&nbsp;
        context.fillStyle = &quot;rgb(50,50,50)&quot;;
        context.fillRect (20, 20, 150, 150);
        context.strokeRect (20, 20, 300, 300);
      }
    }</pre></div></div>

<p>If you’re using a supported browser (Safari, Firefox, or Opera) you should see the following result when you combine the HTML and JavaScript we just looked at.</p>
<p><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/squares.jpg" alt="screenshot" width="233" /></p>
<p>Again, before you do any drawing remember to implement the 2d context or you won&#8217;t see any graphics at all! Just in case you’re wondering what the heck this “fillRect” rubbish is about, here’s a quick explanation of the syntax for a few of the drawing methods.</p>
<h2 style="font-size: 15px;">Drawing Rectangles</h2>
<p>First of all, you should know that when you see four numbers in the format (0,0,0,0), this represents (distance from the left, distance from the top, width, height). Now let’s look at a few specific syntax examples:<br />
<strong>fillStyle = “rgb(50, 50, 50);</strong> Determines the color of the fill<br />
<strong>fillRect (20, 20, 150, 150);</strong> Creates a simple filled rectangle<br />
<strong>strokeRect (20, 20, 150, 150);</strong> Creates a stroked rectangle<br />
<strong>clearRect (20, 20, 150, 150);</strong> Creates a transparent area (a hole)</p>
<h2 style="font-size: 15px;">Drawing Shapes</h2>
<p><strong>beginPath ();</strong> Starts a path<br />
<strong>closePath ();</strong> Closes a path<br />
<strong>moveTo (20, 20,);</strong> Lifts drawing pen and starts in a new location<br />
<strong>fill ();</strong> Fills the drawn shape<br />
<strong>stroke (20, 20);</strong> Strokes the drawn shape</p>
<h2 style="font-size: 15px;">Much More!</h2>
<p>For much more information on how to draw with JavaScript and how to use the canvas element, check out <a href="https://developer.mozilla.org/en/Canvas_tutorial">Mozilla’s tutorial</a>.<br />
Also, here’s a handy <a href="http://blog.nihilogic.dk/2009/02/html5-canvas-cheat-sheet.html">Canvas Cheat Sheet</a> from Jacob Seidelin.</p>
<h3>The Article Element</h3>
<p>The article element is simply a way to refer to a blog post, news article, etc. within your page.  Here’s the syntax:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;article&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://articleLinkHere&gt;</span></span>
	 Article Title Here
&nbsp;
	 Article <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>article&gt;</span></pre></div></div>

<p>As you can imagine, this will make it super easy to target and style articles in your CSS without defining a class. </p>
<h3>The Audio and Video Elements</h3>
<p>Like the article element, these are simply containers that hold content. Again you can see the benefit immediately when you start to style these with CSS without the need of any custom classes. Here’s the simple syntax for each (any text placed between the brackets only shows up in unsupported browsers):</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;video <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://videoSourceHere&quot;</span>&gt;</span>Unsupported browser!&gt;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>video&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;audio <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sample.mp3&quot;</span>&gt;</span>Unsupported browser!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>audio&gt;</span></pre></div></div>

<h2 style="font-size: 15px;">Audio Attributes</h2>
<p>Both the audio and video elements contain important attributes that you should know. First let’s look at those for the audio element (source: <a href="http://www.w3schools.com/tags/html5_audio.asp">w3shcools</a>).</p>
<pre><strong>autoplay (true or false)</strong>
If true, then the audio will start playing as soon as it is ready

<strong>controls (true or false)</strong>
If true, the user is shown some controls, such as a play button.

<strong>start (numeric value)</strong>
Defines where in the audio stream the player should start playing.
As default, the audio starts playing at the beginning.

<strong>end (numeric value)</strong>
Defines where in the audio stream the player should stop playing.
As default, the audio is played to the end.

<strong>height (pixels)</strong>
Sets the height of the video player

<strong>width (pixels)</strong>
Sets the width of the video player

<strong>loopend (numeric value)</strong>
Defines where in the audio stream the loop should stop,
 before jumping to the start of the loop. Default is the end
attribute's values.

<strong>loopstart (numeric value)</strong>
Defines where in the audio stream the loop should start.
Default is the start attribute's values

<strong>playcount (numeric value)</strong>
Defines how many times the audio clip should be played.
Default is 1.

<strong>poster (url)</strong>
The URL of an image to show before the video is ready

<strong>src (url)</strong>
The URL of the audio to play</pre>
<h2 style="font-size: 15px;">Video Attributes</h2>
<p>The video element contains all the same attributes as the audio element as well as 3 more (source: <a href="http://www.w3schools.com/tags/html5_video.asp">w3shcools</a>).</p>
<pre><strong>height (pixels)</strong>
Sets the height of the video player

<strong>width (pixels)</strong>
Sets the width of the video player

<strong>poster (url)</strong>
The URL of an image to show before the video is ready</pre>
<p></p>
<h3>The Meter Element</h3>
<p>The meter element can be used to contain measurements of any kind (percentage, score, day counter, etc.). This time, before we look at an example, let&#8217;s go straight into the attributes (again, straight from <a href="http://www.w3schools.com/tags/html5_meter.asp">w3shcools</a>).</p>
<pre><strong>high (number)</strong>
Defines at which point the measurement's value is consider a high value

<strong>low (number)</strong>
Defines at which point the measurement's value is consider a low value

<strong>max (number)</strong>
Defines the maximum value. Default value is 1

<strong>min (number)</strong>
Defines the minimum value. Default value is 0

<strong>optimum (number)</strong>
Defines what measurement's value is the best value.
If this value is higher then the "high" attribute's value,
it means that the higher value the better. If this value is
lower than the "low" attribute's value, it means that the
lower value the better.

<strong>value (number)</strong>
Defines the measurement's value</pre>
<p>The two specially important attributes in this set are max and min. The meter element can <strong>only</strong> be used when the measurement has a known maximum and minimum value. That doesn&#8217;t necessarily mean you have to define a max and a min (you could use the default), just that you have to be aware of what they are. Here&#8217;s an example:</p>
<pre class="“html”">

You found <meter min="0" max="50">25 out of 50</meter> or <meter>50%</meter> of the hidden words!
</pre>
<p>Notice that for the first meter element required specification of the min and max because the range was between 0 and 50. However, the second meter used the default range of 1-100 because percentages usually fall in this range.</p>
<h3>The Mark Element</h3>
<p>The final element we&#8217;ll take a look at is &lt;mark&gt;. Simple in concept, the mark element can be used to highlight a specific section of text to make it more noticeable to the reader. 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;">p</span>&gt;</span>A good highlighter is hard to find.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span></pre></div></div>

<p>Now we can use the mark tag to easily target the section we want to highlight in our CSS:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">mark <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">yellow</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>The result is nice, highlighted text that you can spot in an instant.</p>
<h3>Conclusion</h3>
<p>In summary, we covered six brand new elements from HTML5. First we looked at the <strong>canvas</strong> element, which is a container for a wide variety of graphical items that you can create using a number of JavaScript functions. Then we learned about the <strong>article</strong> element, which represents a new way to refer to external content. Next we outlined how to use the <strong>audio</strong> and <strong>video</strong> tags along with their various attributes as well as how to properly tag values falling within a specified range using the <strong>meter</strong> element. Finally, we discovered how to highlight a specific portion of text using the <strong>mark</strong> element.</p>
<p>I hope you&#8217;ve learned as much reading this as I did writing it! Use the comments below to ask any questions you might have or share your own bit of HTML5 knowledge. The next article in this series is perhaps the most important because we&#8217;ll be looking at a few more new elements that represent some serious semantic changes in the structure of HTML files. So check back soon to see how you&#8217;ll be laying out your HTML for years to come!</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/html/html5-new-elements-2-of-4/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>HTML5: The Basics (1 of 4)</title>
		<link>http://designshack.net/articles/html/html5-the-basics-1-of-4/</link>
		<comments>http://designshack.net/articles/html/html5-the-basics-1-of-4/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 14:26:36 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=2061</guid>
		<description><![CDATA[The next iteration of HTML has been met with excitement by some, loathing by others and confusion/fear by everyone else. Love it or hate it, HTML 5 will soon define how you build websites. This is the first article in a four part series that will introduce HTML5 and its basic features as well as [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/TheBasicsGold2.jpg" alt="screenshot" width="510"/></div>
<p>The next iteration of HTML has been met with excitement by some, loathing by others and confusion/fear by everyone else. Love it or hate it, HTML 5 will soon define how you build websites. This is the first article in a four part series that will introduce HTML5 and its basic features as well as explain the key differences from HTML4.01 and XHTML  1.0 so you can start preparing yourself and your sites for the transition. Over the next week we’ll be focusing on three major areas:</p>
<p><strong>1. New Elements<br />
2. Semantic Changes<br />
3. Getting it Working Today</strong></p>
<p>This article will briefly introduce each of these topics to prepare you for the in-depth articles ahead. </p>
<p><span id="more-2061"></span></p>
<h3>APIs</h3>
<p>Before we dive into the topics listed above, I want to take a minute to look at an extremely important feature that we won’t be covering in its own dedicated article: the new APIs. HTML5 includes several new APIs that are integrated with some of the new HTML5 elements (which we’ll be looking at later).  Here’s the complete list straight from <a href="http://www.w3.org/TR/html5-diff/#apis">W3.org</a>:</p>
<li>2D drawing API which can be used with the new canvas element.</li>
<li>API for playing of video and audio which can be used with the new video and audio elements.</li>
<li>An API that enables offline Web applications.</li>
<li>An API that allows a Web application to register itself for certain protocols or media types.</li>
<li>Editing API in combination with a new global contenteditable attribute.</li>
<li>Drag &#038; drop API in combination with a draggable attribute.</li>
<li>API that exposes the history and allows pages to add to it to prevent breaking the back button.</li>
<li>Cross-document messaging.</li>
<p></p>
<p>As you can see, the principal purpose of these APIs is to facilitate web application creation. Notice the third API enables offline web apps. This is excellent news for users and programmers alike because it enables the use of rich, internet-driven applications in an offline environment. You can expect to see many of your favorite applications follow Gmail in introducing offline access. </p>
<h3>New Elements in HTML5</h3>
<p>HTML5 introduces quite a few new elements. Article two in this series will look at a few of these in detail, but for now here’s the complete list with brief descriptions (source: <a href="http://www.w3schools.com/tags/html5.asp">w3schools</a>):</p>
<p><!--List--></p>
<li><strong>&lt;article&gt;</strong> Defines external content</li>
<p></p>
<li><strong>&lt;aside&gt;</strong> Defines some content aside from the article it is placed in</li>
<p></p>
<li><strong>&lt;audio&gt;</strong> Defines sound, such as music or other audio streams</li>
<p></p>
<li><strong>&lt;canvas&gt;</strong> Defines graphic, such as graphs or other images</li>
<p></p>
<li><strong>&lt;command&gt;</strong> Defines a command button, like a radiobutton, a checkbox, or a button</li>
<p></p>
<li><strong>&lt;datagrid&gt;</strong> Defines a list of selectable data. The datagrid is displayed as a tree-list</li>
<p></p>
<li><strong>&lt;datalist&gt;</strong> Defines a list of selectable data. Use this element together with the input element, to make a dropdown list for the input&#8217;s value</li>
<p></p>
<li><strong>&lt;datatemplate&gt;</strong> Defines a container for data template. This element must have child elements to define a template: &lt;rule&gt; elements</li>
<p></p>
<li><strong>&lt;details&gt;</strong> Defines details of an element, which the user can see, and click to hide</li>
<p></p>
<li><strong>&lt;dialog&gt;</strong> Defines a dialog, such as a conversation</li>
<p></p>
<li><strong>&lt;embed&gt;</strong> Defines embedded content, such as a plug-in</li>
<p></p>
<li><strong>&lt;event-source&gt;</strong> Defines a source for events sent by a server</li>
<p></p>
<li><strong>&lt;figure&gt;</strong> Used to group some elements</li>
<p></p>
<li><strong>&lt;footer&gt;</strong> Defines the footer of a section or document. Typically contains the name of the author, the date the document was written and/or contact information</li>
<p></p>
<li><strong>&lt;header&gt;</strong> Defines the header of a section or document</li>
<p></p>
<li><strong>&lt;mark&gt;</strong> Defines marked text. Use the &lt;mark&gt; tag if you want to highlight parts of your text</li>
<p></p>
<li><strong>&lt;meter&gt;</strong> Defines a measurement. Used only for measurements with a known minimum and maximum value</li>
<p></p>
<li><strong>&lt;nav&gt;</strong> Defines a section of  navigation links</li>
<p></p>
<li><strong>&lt;nest&gt;</strong> Defines a nestingpoint in a datatemplate for child elements. Used together with the elements &lt;datatemplate&gt; and &lt;rule&gt; </li>
<p></p>
<li><strong>&lt;output&gt;</strong> Defines different types of output, such as output written by a script</li>
<p></p>
<li><strong>&lt;progress&gt;</strong> Defines work-in-progress. Use the progress element to display the progress of a time consuming function in JavaScript</li>
<p></p>
<li><strong>&lt;rule&gt;</strong> Defines the rules for updating a datatemplate. Used together with the elements &lt;datatemplate&gt; and &lt;nest&gt; </li>
<p></p>
<li><strong>&lt;section&gt;</strong> Defines sections in a document. Such as chapters, headers, footers, or any other sections of the document</li>
<p></p>
<li><strong>&lt;source&gt;</strong> Defines media resources for media elements, such as &lt;video&gt; and &lt;audio&gt; </li>
<p></p>
<li><strong>&lt;time&gt;</strong> Defines a time or a date, or both</li>
<p></p>
<li><strong>&lt;video&gt;</strong> Defines video, such as a movie clip or other video streams</li>
<p><!--List--></p>
<p>Though we won’t have time to go over each of these in detail, we’ll be examining a few of the important ones such as &lt;canvas&gt; and &lt;video&gt;.</p>
<h3>Semantic Changes</h3>
<p>This is the part that should fundamentally change the way you structure your sites. Included in the list above are six new structural elements that will help bring consistency to the basic frame of sites all across the web. These six elements are:</p>
<p><strong>1. &lt;nav&gt;<br />
2. &lt;section&gt;<br />
3. &lt;article&gt;<br />
4. &lt;header&gt;<br />
5. &lt;footer&gt;<br />
6. &lt;aside&gt;</strong></p>
<p>Think of these as the replacement for many of the DIVs that you currently use to structure your site. So instead of “&lt;div class=&#8221;header&#8221;&gt;,” you’ll simply have “&lt;header&gt;.” Notice I included “div class” instead of “div id.” This is because these elements are repeatable throughout a page in the same way that classes are. We’ll investigate this more later this week in article three.</p>
<h3>Getting HTML5 Working Today</h3>
<p>Don’t get too excited by this headline. As any good web developer knows, all the major web browsers still differ (some are worse than others, you know who I’m talking about) on support for HTML4.01 and XHTML 1.0. Now imagine what that means for a change as big and new as HTML5. Though mega-developers like Google are pushing along the acceptance of HTML5, it won’t be supported across the board for some time. However, that doesn’t meant that you shouldn’t begin preparing for the big switch today, and it certainly doesn’t mean there aren’t clever tricks out there to enable you to start playing with HTML5 right away. In article four, we’ll take a look at how you can start your HTML5 journey sooner rather than later. </p>
<h3>Conclusion</h3>
<p>This article briefly introduced the new elements and APIs included in HTML5. We talked about how you should be excited for the changes HTML5 will bring to the web apps of tomorrow. We also got a taste of the semantic changes to come and the new structure our web pages should take in the future. Finally, we learned that even though HTML5 isn’t quite ready for the masses, we can still get our grubby developer fingers on it and start experimenting today. Check back here frequently in the next week for an in-depth look into each of these topics!   </p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/html/html5-the-basics-1-of-4/feed/</wfw:commentRss>
		<slash:comments>94</slash:comments>
		</item>
		<item>
		<title>The Basics of Semantics</title>
		<link>http://designshack.net/articles/the-basics-of-semantics/</link>
		<comments>http://designshack.net/articles/the-basics-of-semantics/#comments</comments>
		<pubDate>Mon, 16 Jul 2007 13:15:37 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[semantics]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://localhost:8888/?p=445</guid>
		<description><![CDATA[Semantics is a word which strikes fear into many a designer&#8217;s heart, but it need not be a difficult or complicated topic. It concerns meaningful expression, avoiding presentational markup and using appropriate and meaningful tags where possible. Essentially, designing and writing HTML code in a semantic way is as simple as keeping your HTML concerned [...]]]></description>
			<content:encoded><![CDATA[<p>Semantics is a word which strikes fear into many a designer&#8217;s heart, but it need not be a difficult or complicated topic. It concerns meaningful expression, avoiding presentational markup and using appropriate and meaningful tags where possible.</p>
<p>Essentially, designing and writing HTML code in a semantic way is as simple as keeping your HTML concerned with the content of the page and not the layout. Some of the simple steps below will help you to ensure that you stay semantically pleasing to search engines, spiders and visitors:</p>
<h2>Title tag</h2>
<p>Ensure that your page title tag is descriptive and meaningful. Ensure that it changes for each page of your site to reflect the content on that page.</p>
<h2>Headings</h2>
<p>It&#8217;s possible to define your page&#8217;s headings with div and span tags, but that doesn&#8217;t convey any meaning that it is a heading. Using h1 to h6 tags to differentiate and style the headings on your page is much better.</p>
<h2>Tables and Forms</h2>
<p>By default, tables and forms are not very semantic and can be very general. They also lack accessibility for those using non-standard browsers. For tables, ensure that you use the thead tag to explain the columns of your table. For forms, adhere to using the label tag to describe what each input, checkbox etc is there for.</p>
<h2>Images</h2>
<p>It seems like it gets said over and over again, but use alt attributes for all your images to ensure that they are described within the page content &#8211; both for the benefit of search engines and disabled users.</p>
<h2>Seems straight forward&#8230; but why?</h2>
<p>Using semantic code won&#8217;t make your website look any different and it won&#8217;t directly benefit your readers in any way. One direct effect you may see is that search engines spider your website in a more correct and effective way.</p>
<p>Also, semantic coding is paving the way for the future. New devices, software and applications will be around in the next 5, 10, 100 years that still use the content on the web to power them. Semantics set the standard which future systems will adhere to and interpret, so future proof yourself!</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/the-basics-of-semantics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Need for Standards</title>
		<link>http://designshack.net/articles/the-need-for-standards/</link>
		<comments>http://designshack.net/articles/the-need-for-standards/#comments</comments>
		<pubDate>Fri, 06 Jul 2007 13:41:02 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[accessible]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://localhost:8888/?p=501</guid>
		<description><![CDATA[More and more is being said about web standards and the need to build compliant sites. That&#8217;s all well and good, but why is that the case, and what are the benefits to you of designing with standards in mind? How can you persuade a client to spend extra money on a standards compliant website? [...]]]></description>
			<content:encoded><![CDATA[<p>More and more is being said about web standards and the need to build compliant sites. That&#8217;s all well and good, but why is that the case, and what are the benefits to you of designing with standards in mind? How can you persuade a client to spend extra money on a standards compliant website?</p>
<h3>Why use web standards?</h3>
<p>It is undoubtedly the case that designing with standards in mind takes extra time and expertise, but there are several arguments to support it all being worth the effort. Here are five solid reasons to justify the need for standards.</p>
<h3>1. Make your job easier</h3>
<p>Trying to pick your way through a mess of poorly written code is no fun &#8211; planning ahead and using well written, standards based code will save you masses of time in the long run. Writing semantic code (using the right tags for the right job) will also mean that updating your site in the future is a breeze. This is especially important if you are creating a site and passing it on to someone else to manage and update &#8211; they need to be able to understand how you&#8217;ve crafted the site.</p>
<h3>2. Increase your audience</h3>
<p>There&#8217;s no point having a website if no-one visits it. Designing with standards improves accessibility, and makes it easier for people with disabilities (for example, using a braille interpreter) to navigate through your site. Often your website will also look much better for people using older computers and web browsers &#8211; not everyone has the cutting edge computer you have.</p>
<h3>3. Improve your search engine ranking</h3>
<p>Getting your website listed well in search engines is the holy grail, and something companies spend millions of dollars on. One of the best methods to succeed in this arena is through a well-structured semantic website. This means using heading (&lt;h1&gt;) tags where appropriate and generally structuring your code consistently.</p>
<h3>4. Stay professional</h3>
<p>As the popularity of standards based coding increases and more web developers start to take it on board, it&#8217;s vital that you stay ahead of the curve and keep up with current trends. In order to attract clients as a web designer it&#8217;s a service you&#8217;ll need to offer. You can market standards as a way to improve search engine ranking and reach more customers.</p>
<h3>5. Why not?</h3>
<p>Coding with standards has so many advantages, and the only down-side is that it takes a little longer than using an ad-hoc, slap it all together method. The only major changes you need to make involve coding semantically, and passing your site through a CSS and XHTML validator before handing it back to the client. Not a huge set back! For more help and information, read our <a href="k/tutorials/category/standards/">tutorials on web standards</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/the-need-for-standards/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 781/924 objects using disk: basic

Served from: designshack.net @ 2012-02-10 05:06:31 -->
