<?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>all your code are belong to us &#187; semantic</title>
	<atom:link href="http://allurcode.com/tag/semantic/feed/" rel="self" type="application/rss+xml" />
	<link>http://allurcode.com</link>
	<description>and all my code are belong to you</description>
	<lastBuildDate>Thu, 19 Jan 2012 20:33:59 +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>HTML5 Where to start?</title>
		<link>http://allurcode.com/2010/06/15/html5-where-to-start/</link>
		<comments>http://allurcode.com/2010/06/15/html5-where-to-start/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 13:16:55 +0000</pubDate>
		<dc:creator>6bytes</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[semantic]]></category>
		<category><![CDATA[start]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">http://allurcode.com/?p=258</guid>
		<description><![CDATA[Everyone is excited about the new kid on the block &#8211; HTML5, but where to start and how to use it? There are couple of things you can start using right now with a few hacks for our lovely IE6 and other browsers not yet supporting HTML5. Before we get into it, it&#8217;s good to [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Everyone is excited about the new kid on the block &#8211; HTML5, but where to start and how to use it? There are couple of things you can start using right now with a few hacks for our lovely IE6 and other browsers not yet supporting HTML5. Before we get into it, it&#8217;s good to know the level of support of HTML5 in different browsers. These few links can help you find it out.</p>
<ul>
<li><a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2h0bWw1dGVzdC5jb20v">Test your browser for support</a></li>
<li><a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5maW5kbWVieWlwLmNvbS9saXRtdXMjdGFyZ2V0LXNlbGVjdG9y">Web Designer&#8217;s Checklist</a></li>
<li><a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Nhbml1c2UuY29tLw==">When can I use</a></li>
</ul>
<h1>Not supported elements</h1>
<p>Following elements are no longer supported in HTML5:</p>
<ul>
<li>&lt;acronym&gt;</li>
<li>&lt;applet&gt;</li>
<li>&lt;basefont&gt;</li>
<li>&lt;big&gt;</li>
<li>&lt;center&gt;</li>
<li>&lt;dir&gt;</li>
<li>&lt;font&gt;</li>
<li>&lt;frame&gt;</li>
<li>&lt;frameset&gt;</li>
<li>&lt;noframes&gt;</li>
<li>&lt;s&gt;</li>
<li>&lt;strike&gt;</li>
<li>&lt;tt&gt;</li>
<li>&lt;u&gt;</li>
<li>&lt;xmp&gt;</li>
</ul>
<p>Now, lets start with a few simple tags.</p>
<h1>Doctype</h1>
<p>Oh the doctype, who could remember the whole thing?</p>
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;</pre>
<p>Instead of old doctype like the one above we can finally start using something that is really easy to remember.</p>
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPE html&gt;</pre>
<p>YES! That&#8217;s it, we&#8217;re done <img src='http://allurcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Even Google is using it already.</p>
<h1>Character Set</h1>
<p>Again, a lot simpler than it used to be.</p>
<pre class="brush: xml; title: ; notranslate">&lt;meta charset=&quot;utf-8&quot; /&gt;</pre>
<h1>&lt;script&gt;, &lt;style&gt; and &lt;link&gt; elements</h1>
<p>We&#8217;re all used to this</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; src=&quot;/path/to/my/file.js&quot;&gt;&lt;/script&gt;
&lt;style type=&quot;text/css&quot;&gt;
#myId { margin:0px; }
&lt;/style&gt;
&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;/path/to/my/file.css&quot; /&gt;
</pre>
<p>but with HTML5 the we can omit the <em>type</em> attributes as the values above are set as default. Our bit of code becomes a little more clean.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script src=&quot;/path/to/my/file.js&quot;&gt;&lt;/script&gt;
&lt;style&gt;
#myId { margin:0px; }
&lt;/style&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;/path/to/my/file.css&quot; /&gt;
</pre>
<h1>Semantic structure</h1>
<p>A few new elements were added to only add a more semantic meaning to well known &lt;div&gt; tag. Some of those elements are:</p>
<ul>
<li>&lt;article&gt;</li>
<li>&lt;section&gt;</li>
<li>&lt;aside&gt;</li>
<li>&lt;hgroup&gt;</li>
<li>&lt;header&gt;</li>
<li>&lt;footer&gt;</li>
<li>&lt;nav&gt;</li>
<li>&lt;time&gt;</li>
<li>&lt;mark&gt;</li>
<li>&lt;figure&gt;</li>
<li>&lt;figcaption&gt;</li>
</ul>
<h1>Support in IE</h1>
<p>IE9 is supposed to support HTML5 when it&#8217;s out but for now we have to tell IE what type are those elements. To not complicate things too much all we need to do is make a use of <a href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3JlbXlzaGFycC5jb20vMjAwOS8wMS8wNy9odG1sNS1lbmFibGluZy1zY3JpcHQv">this awesome script</a>. Just paste it within your <em>head</em> tag.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!--[if IE]&gt;
&lt;script src=&quot;http://html5shim.googlecode.com/svn/trunk/html5.js&quot;&gt;&lt;/script&gt;
&lt;![endif]--&gt;
</pre>
<h1>Sample page layout</h1>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;title&gt;Title&lt;/title&gt;
&lt;meta charset=&quot;utf-8&quot; /&gt;
&lt;meta http-equiv=&quot;imagetoolbar&quot; content=&quot;no&quot; /&gt;
&lt;meta name=&quot;robots&quot; content=&quot;index, follow&quot; /&gt;
&lt;meta name=&quot;keywords&quot; content=&quot;Keywords&quot; /&gt;
&lt;meta name=&quot;description&quot; content=&quot;Description&quot; /&gt;
&lt;!--[if IE]&gt;
&lt;script src=&quot;http://html5shim.googlecode.com/svn/trunk/html5.js&quot;&gt;&lt;/script&gt;
&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;div id=&quot;wrapAll&quot;&gt;
	&lt;header&gt;
		&lt;nav&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Item 1&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Item 2&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Item 3&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/nav&gt;
	&lt;/header&gt;
	&lt;section&gt;
		&lt;article&gt;
			&lt;header&gt;
				&lt;h1&gt;Article Header&lt;/h1&gt;
				&lt;time datetime=&quot;2010-06-15&quot; pubdate&gt;June 15th, 2010&lt;/time&gt;
			&lt;/header&gt;
			&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit.&lt;/p&gt;
		&lt;/article&gt;
	&lt;/section&gt;
	&lt;footer&gt;
		Footer content
	&lt;/footer&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>&nbsp;</p>
<div class="shr-publisher-258"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDEwJTJGMDYlMkYxNSUyRmh0bWw1LXdoZXJlLXRvLXN0YXJ0JTJG" data-shr_title='HTML5+Where+to+start%3F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cCUzQSUyRiUyRmFsbHVyY29kZS5jb20lMkYyMDEwJTJGMDYlMkYxNSUyRmh0bWw1LXdoZXJlLXRvLXN0YXJ0JTJG" data-shr_title='HTML5+Where+to+start%3F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --> <img src="http://allurcode.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=258" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://allurcode.com/2010/06/15/html5-where-to-start/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

