<?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>Lee Munroe &#187; Front-End</title> <atom:link href="http://www.leemunroe.com/tags/front-end/feed/" rel="self" type="application/rss+xml" /><link>http://www.leemunroe.com</link> <description>User Experience and Web Interface Designer Lee Munroe</description> <lastBuildDate>Thu, 09 Feb 2012 02:44:16 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>Are you an HTML5 web designer?</title><link>http://www.leemunroe.com/html5-web-designer/</link> <comments>http://www.leemunroe.com/html5-web-designer/#comments</comments> <pubDate>Tue, 29 Mar 2011 09:01:10 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[css3]]></category> <category><![CDATA[development]]></category> <category><![CDATA[Front-End]]></category> <category><![CDATA[html]]></category> <category><![CDATA[html5]]></category> <category><![CDATA[markup]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=2300</guid> <description><![CDATA[HTML5 is quite the buzzword at the minute. A lot of designers and front-end developers will now say &#8220;I use HTML5 and CSS3&#8243; rather than just good olde &#8220;HTML and&#8230;<html><body><h1>400 Bad request</h1> Your browser sent an invalid request.</body></html> ]]></description> <content:encoded><![CDATA[<p>HTML5 is quite the buzzword at the minute. A lot of designers and front-end developers will now say <strong>&#8220;I use HTML5 and CSS3&#8243;</strong> rather than just good olde &#8220;HTML and CSS&#8221; (I&#8217;m one of them, depending on the context).</p><p>At some point the HTML5 fad will die and <strong>we&#8217;ll go back to saying HTML</strong> (did you ever say you used HTML 4.01?) but until then we&#8217;ll throw the HTML5 buzz word around a bit more.</p><p><strong>But what does it actually mean to say you use HTML5?</strong></p><p><span
id="more-2300"></span></p><p>I see HTML5 being broken down into 5 different levels.</p><h4>1. Doctype</h4><p>Technically if you use an <strong>HTML5 doctype declaration</strong>, you&#8217;re using HTML5.</p><p>Along with your doctype you can <strong>tidy up the rest of your head</strong> like so.</p><pre><code>&lt;!doctype html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
&lt;link rel="stylesheet" href="style.css"&gt;
&lt;script src="script.js"&gt;&lt;/script&gt;
...</code></pre><p>This is simple stuff, and you usually have this <strong>saved in some sort of template</strong>.</p><h4>2. Forms</h4><p>The next level of HTML5 is adding some niceness to forms.</p><p><strong>Validation, place holders, calendars, input types</strong> can all be declared with HTML5 and in most cases all that is needed is dropping in an extra attribute to your already existent XHTML forms.</p><pre><code>&lt;input type="search" id="keywords" name="keywords" placeholder="Search our site" autofocus&gt;</code></pre><h4>3. Layout and elements</h3><p>We get a bit more advanced now with layout. HTML5 has introduced several new block elements for marking up your layout including <strong>header, footer, article, aside, section, figure</strong>.</p><pre><code>&lt;header&gt;
&lt;h1&gt;Heading goes here&lt;/h1&gt;
&lt;/header&gt;
&lt;article&gt;
&lt;section&gt;
&lt;h2&gt;Something in here&lt;/h2&gt;
&lt;/section&gt;
&lt;section&gt;
&lt;h2&gt;Something else in here&lt;/h2&gt;
&lt;/section&gt;
&lt;/article&gt;
&lt;aside&gt;
&lt;p&gt;Something to accompany your article here&lt;/p&gt;
&lt;/aside&gt;
&lt;footer&gt;
&lt;p&gt;Copyright 2011&lt;/p&gt;
&lt;/footer&gt;</code></pre><p>For these new block elements to work across all browsers, <strong>make sure you declare them as block level elements and use the HTML shiv script for IE compatibility</strong>.</p><p>Include this in your head:</p><pre><code>&lt;!--[if lt IE 9]&gt; 
&lt;script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"&gt; &lt;/script&gt; 
&lt;![endif]--&gt;</code></pre><p>And this in your stylesheet:</p><pre><code>header,footer,nav,article,aside,section,figure,figcaption,hgroup,audio,video{
display:block;
}</code></pre><h4>4. Video and audio</h4><p>There&#8217;s a good chance most of you have looked at levels 1 to 3 as most projects require markup, layouts and forms but not all require video and audio.</p><p><strong>No longer do you need to embed video and audio into Flash</strong>. They now have their own elements and controls you can customise in HTML5.</p><pre><code>&lt;video src="video.mp4" controls width="640" height="360" poster="video.jpg"&gt;&lt;/video&gt;</code></pre><h4>5. Advanced features and Javascript</h4><p>I&#8217;ve called level 5 advanced features as we&#8217;re now diving into Javascript.</p><p>Most of the blog articles and books I&#8217;ve read on HTML5 cover the 4 levels above but brush over these advanced features, most likely because <strong>they deserve full books dedicated to the topic</strong> and are more developer than designer related.</p><p>These features include:</p><ul><li>Canvas</li><li>Local/offline storage</li><li>Geolocation</li></ul><h4>How much HTML5 are you using?</h4><p>To date I&#8217;ve only been using levels 1 to 3 myself. I&#8217;ve yet to have an excuse or reason to delve any further.</p><p><strong><em>Are you using HTML5? Have you looked at any of the advanced HTML5 features mentioned above?</em></strong></p><h4>Further reading</h4><ul><li><a
href="http://diveintohtml5.org/">Dive into HTML5</a> by Mark Pilgrim</li><li><a
href="http://html5doctor.com/">HTML5 doctor</a></li><li><a
href="http://fivesimplesteps.com/books/hardboiled-web-design">Hard Boiled Web Design</a> by Andy Clarke</li><li><a
href="http://www.abookapart.com/products/html5-for-web-designers">HTML5 for Web Designers</a> by Jeremy Keith</li></ul> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/html5-web-designer/feed/</wfw:commentRss> <slash:comments>12</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: basic (User agent is rejected)
Database Caching 22/30 queries in 0.317 seconds using disk: basic

Served from: www.leemunroe.com @ 2012-02-09 14:19:29 -->
