<?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; html</title> <atom:link href="http://www.leemunroe.com/tags/html/feed/" rel="self" type="application/rss+xml" /><link>http://www.leemunroe.com</link> <description>User Experience and Web Interface Designer Lee Munroe</description> <lastBuildDate>Mon, 16 Jan 2012 19:05:03 +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> <item><title>How To Setup A Reusable Framework For Your Next Website</title><link>http://www.leemunroe.com/reusable-website-framework/</link> <comments>http://www.leemunroe.com/reusable-website-framework/#comments</comments> <pubDate>Wed, 03 Mar 2010 10:01:05 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[css]]></category> <category><![CDATA[framework]]></category> <category><![CDATA[html]]></category> <category><![CDATA[html5]]></category> <category><![CDATA[p52]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=1891</guid> <description><![CDATA[You&#8217;ve done your research, sketched out the wireframes, designed a stunning mockup and now its time to markup. Where do you start? Having your own reusable framework is a great&#8230;]]></description> <content:encoded><![CDATA[<p>You&#8217;ve done your research, sketched out the wireframes, designed a stunning mockup and now its time to markup. Where do you start?</p><p>Having your own reusable framework is a great way to <strong>save time and provide a basis for your next website</strong>.</p><p>Your own reusable framework is by no means perfect for every project that you work on but it is a <strong>great starting point</strong> and it can <strong>evolve</strong> over time.</p><p><span
id="more-1891"></span></p><p>This post looks at the current framework I have in place and breaks it down. <strong><em>Please feel free to reuse this as you see fit and also point out anything that you feel would be beneficial to add (or remove).</em></strong></p><h4>Framework structure</h4><div
style="text-align:center;"><img
src="http://www.leemunroe.com/wp-content/uploads/Picture-3.png" alt="Picture 3.png" border="0" width="382" height="182" /></div><p>All files are kept in a folder simply named &#8216;<strong>NewSite</strong>&#8216; which contains the following:</p><p><strong>ie.css</strong ><br
/> A stylesheet specific for <strong>IE6</strong> (or sometimes 7) that at the end of a project will usually contain various <strong>CSS bug fixes</strong> and PNG transparency fixes.</p><p><strong>images/ directory</strong><br
/> For storing all images for the website.</p><p><strong>index.html</strong><br
/> The <strong>main template</strong> for the website. Depending on CMS or programming language I use this will be chopped up at some stage.</p><p><strong>print.css</strong><br
/> A stylesheet used when printing a document.</p><p><strong>scripts/ directory</strong><br
/> For placing all the project&#8217;s Javascript files.</p><p><strong>script.js</strong><br
/> A default script for placing most of the project&#8217;s Javascript code, stored in the scripts directory.</p><p><strong>style.css</strong><br
/> The main stylesheet.</p><p>Now lets look at what each file contains.</p><h4>index.html</h4><p>This is the main template for any website and the starting point for marking up.</p><pre><code>&lt;!doctype html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
	&lt;meta charset="utf-8"&gt;
	&lt;meta name="description" content=""&gt;
	&lt;meta name="keywords" content=""&gt;
	
	&lt;link rel="icon" type="image/x-icon" href="/favicon.ico" /&gt;
	
	&lt;link rel="stylesheet" type="text/css" href="style.css" media="screen" /&gt;
	&lt;link rel="stylesheet" type="text/css" href="print.css" media="print" /&gt;
	
	&lt;!--[if lt IE 7]&gt;
	&lt;link rel="stylesheet" href="ie.css" type="text/css" /&gt;
	&lt;![endif]--&gt;
	
&lt;!-- 	&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt; --&gt;
	&lt;script type="text/javascript" src="scripts/script.js"&gt;&lt;/script&gt;
	
	&lt;title&gt;&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;

&lt;p id="skipto"&gt;&lt;a href="#main"&gt;Skip to content&lt;/a&gt;&lt;/p&gt;

&lt;div id="header" class="group"&gt;
	&lt;div id="logo"&gt;&lt;a href="/"&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
	&lt;ul id="nav"&gt;
		&lt;li class="selected"&gt;&lt;a href=""&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=""&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=""&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=""&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
&lt;/div&gt;

&lt;div id="content" class="group"&gt;
	&lt;div id="main" class="main"&gt;
	
	&lt;/div&gt;
	
	&lt;div class="sidebar"&gt;
	
	&lt;/div&gt;
&lt;/div&gt;

&lt;div id="footer"&gt;
&lt;p&gt;Copyright &amp;copy;&lt;/p&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;</code></pre><p>Notes about the markup used:</p><ul><li>The doctype is <strong>HTML 5</strong></li><li>There is a &#8216;<strong>skip to content</strong>&#8216; link for screen readers (the style sheet will hide this)</li><li>Uses a conditional statement to load <strong>ie.css for Internet Explorer browsers below version 7</strong></li><li>JQuery library is included using <strong>Google&#8217;s CDN</strong> (but is commented out until it is needed)</li><li>The bare bones of the markup has been added</li></ul><h4>styles.css</h4><p>Now lets look at the default stylesheet I&#8217;m using.</p><pre><code>/*
Author: Lee Munroe
*/


/* 
# CSS contents ###################
* 1 Reset defaults
* 2 Layout
* 3 Nav
* 4 Headings
* 5 Lists
* 6 Images
* 7 Links
* 8 Forms
* 9 Tables
* 10 Typography 
* 11 Other
*/


/* 
# Colour reference ###################


*/
 
/*
# Reset defaults ################### 
*/

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; } 
a:link, a:visited{text-decoration:none;outline:none;}
html {overflow: -moz-scrollbars-vertical;}
#skipto{position:absolute;left:-9999px;top:-9999px;}
.group:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}

/*
# Layout ################### 
*/

body{font:75%/1.5  "Helvetica Neue", Helvetica, Arial, sans-serif;color:#222;background:#fff;}

/*
# Nav ################### 
*/



/*
# Headings ################### 
*/

h1{}

h2{}

h3{}

h4{}

#logo{width:;height:;background:url(images/logo.gif) no-repeat;}
#logo a{display:block;height:100%;width:100%;}
#logo a span{position:absolute;left:-9999px;top:-9999px;}

/*
# Lists ################### 
*/



/*
# Images ################### 
*/

img{border:none;}
img.left{margin:0 10px 10px 0;}
img.right{margin:0 0 10px 10px;}

/*
# Links ################### 
*/

a{}
a:hover{}

/*
# Forms ################### 
*/



/*
# Tables ################### 
*/



/*
# Typography ################### 
*/

p{margin:0 0 1.5em;}

/*
# Other ################### 
*/

.right{float:right;}
.left{float:left;}
.clear{clear:both;}
.alignleft{text-align: left;}
.alignright{text-align: right;}
.aligncenter{text-align: center;}</code></pre><p>Notes for the stylesheet:</p><ul><li><strong>Author name</strong> at the top. I&#8217;ll also include the <strong>project name and date</strong> here. This is mainly for the records of anyone the site is handed over to.</li><li>Using <strong>comments</strong> to break down the stylesheet into <strong>sections</strong> making it easier to scan down and find styles. Larger projects may have a different structure.</li><li>A general <strong>reset</strong> for margins and padding. There are lots of more advanced resets out there but I find this basic one works well. <a
href="http://meyerweb.com/eric/tools/css/reset/">Read about CSS reset here</a></li><li>.group:after &#8211; the group class is applied to <strong>any element that needs cleared right after</strong>. Usually where there are 2 or more floats side by side.</li></ul><h4>ie.css</h4><pre><code>.group {zoom: 1;}</code></pre><p>Notes:</p><ul><li>As it stands, only contains a fix for the .group class</li></ul><h4>print.css</h4><pre><code>#header, #footer{display:none;}</code></pre><p>Notes:</p><ul><li>Removes the header and the footer when printing. The final file will need tinkering with though.</li></ul><h4>script.js</h4><pre><code>/*
$(document).ready(function() {
	
});
*/</code></pre><p>Notes:</p><ul><li>The document ready function is for JQuery Javascript functions that you want to run when your page loads. This is commented out until needed.</li></ul><h4>Conclusion</h4><p><a
href="http://www.leemunroe.com/wp-content/uploads/NewSite.zip" class="button cta"  onClick="javascript: pageTracker._trackPageview('/downloads/framework'); ">Download framework as zip file</a></p><p>Please feel free to use these templates in your own projects.</p><p>Again, this is just a framework I&#8217;ve put together over time. I recommend you adapt it to suit your own environment.</p><p><strong><em>What does your framework look like? Anything useful I&#8217;ve missed?</em></strong></p><h4>Further reading</h4><p>More useful templates/frameworks to check out:</p><ul><li><a
href="http://960.gs/">960 Grid System</a></li><li><a
href="http://www.blueprintcss.org/">Blueprint</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/reusable-website-framework/feed/</wfw:commentRss> <slash:comments>59</slash:comments> </item> <item><title>Book Review: HTML and CSS Web Standards Solutions: A Web Standardistas&#8217; Approach</title><link>http://www.leemunroe.com/web-standardistas-book/</link> <comments>http://www.leemunroe.com/web-standardistas-book/#comments</comments> <pubDate>Mon, 28 Sep 2009 11:27:15 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[book]]></category> <category><![CDATA[css]]></category> <category><![CDATA[html]]></category> <category><![CDATA[standardistas]]></category> <category><![CDATA[standards]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=1587</guid> <description><![CDATA[Every so often I will receive an email that asks the following: How can I learn how to build websites? There are two approaches you can take to learning how&#8230;]]></description> <content:encoded><![CDATA[<p>Every so often I will receive an email that asks the following:</p><blockquote><p>How can I learn how to build websites?</p></blockquote><p>There are two approaches you can take to learning how to build websites.</p><ol><li>Learn how to build websites</li><li>Learn <strong>how to build websites the right way</strong>, aka <em>the Web Standardistas&#8217; way</em></li></ol><p><span
id="more-1587"></span></p><div
style="text-align:center;"><a
href="http://www.amazon.co.uk/exec/obidos/ASIN/1430216069/leemunroe-21"><img
src="http://www.leemunroe.com/wp-content/uploads/book1.jpg" alt="Web Standardistas" title="Web Standardistas" width="201" height="240" class="alignnone size-full wp-image-1590" /></a></div><p>I built my first website over 10 years ago but it wasn&#8217;t until final year of my University degree course Interactive Multimedia Design (IMD) that I discovered how to <strong>build sites properly using well structured HTML and CSS</strong>. Before this I was using tables, unstructured markup and invalid HTML. Who do I have to thank for this? <a
href="http://mcmxc.org/">Chris Murphy</a> and <a
href="http://takete.com/">Nicklas Persson</a>, two lecturers on the IMD course.</p><p>Now you don&#8217;t have to take a University course to be taught by these two world renowned mentors. They have branded themselves as the <a
href="http://twitter.com/standardistas">Standardistas</a> and have put all their years of wisdom and knowledge on paper in the form of <a
href="http://astore.amazon.co.uk/leemunroe-21/detail/1430216069">HTML and CSS Web Standards Solutions: A Web Standardistas&#8217; Approach</a>.</p><p>This book will teach you how to build websites from scratch. Starting with the basics of <strong>semantic markup and how web pages work moving onto styling your first web page with CSS</strong>. It&#8217;s a one stop shop for putting together your first web site.</p><h4>Who is it for?</h4><ul><li>People who want to learn how to build websites</li><li>Developers who need to brush up their front end markup skills</li><li>Designers who are using outdated techniques e.g. tables, to build websites</li><li>Professionals who want to earn the badge of a Web Standardista</li></ul><h4>Benefits of the Web Standardistas&#8217; approach</h4><ul><li>Separates content and presentation (easier to update layouts)</li><li>Reduced markup (reducing page download times)</li><li>Increased accessibility (for screen readers and other platforms)</li><li>Cross browser compatibility</li><li>Forward compatibility</li></ul><h4>Recommended</h4><p>It&#8217;s an easily read book, clearly laid out with lots of code examples to help you get started. After reading this you&#8217;ll be able to build websites with your eyes closed.</p><ul><li><a
href="http://www.amazon.co.uk/exec/obidos/ASIN/1430216069/leemunroe-21">The Book</a></li><li><a
href="http://webstandardistas.com/">Web Standardistas website</a></li><li><a
href="http://twitter.com/standardistas">@standardistas on Twitter</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/web-standardistas-book/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>Valid (X)HTML &#8211; Is it important?</title><link>http://www.leemunroe.com/how-important-is-valid-html-web-standards/</link> <comments>http://www.leemunroe.com/how-important-is-valid-html-web-standards/#comments</comments> <pubDate>Tue, 02 Dec 2008 09:00:04 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[css]]></category> <category><![CDATA[html]]></category> <category><![CDATA[validation]]></category> <category><![CDATA[w3c]]></category> <category><![CDATA[web standards]]></category> <category><![CDATA[xhtml]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=651</guid> <description><![CDATA[As a web designer you&#8217;re encouraged to write valid code, but is it really important? I&#8217;ve took a look at the reasons behind validation and checked out 25 of the&#8230;]]></description> <content:encoded><![CDATA[<p>As a web designer you&#8217;re encouraged to write <strong>valid code</strong>, but is it really important?</p><p>I&#8217;ve took a look at the reasons behind validation and checked out <strong>25 of the web&#8217;s most popular websites</strong> to see if they bother validating their code.</p><p><a
href="http://www.leemunroe.com/how-important-is-valid-html-web-standards"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-29.png" alt="Validation" title="Validation" /></a></p><p><span
id="more-651"></span></p><h4>What is validation?</h4><blockquote><p> Validation is a process of checking your documents against a formal Standard, such as those published by the World Wide Web Consortium (W3C)  for HTML and XML-derived Web document types, or by the WapForum for WML, etc. It serves a similar purpose to spell checking&#8230;<a
href="http://validator.w3.org/docs/why.html">W3C</a></p></blockquote><h4>Why validate, what are the benefits?</h4><h5>1. Non uniform browser correction</h5><p>Non valid pages rely on the browser to <strong>auto-correct your code</strong>, and each browser does this differently. So if you forget to close a tag, Firefox might ignore this but Safari doesn&#8217;t and you end up with a <strong>broken layout</strong>.</p><h5>2. Rendering time</h5><p>If your code is valid the browser has to do less thinking as it doesn&#8217;t have to correct any code, therefore the <strong>page will render faster</strong>.</p><h5>3. Future proofing</h5><p>You never know what&#8217;s around the corner in regards to technology but the chances are that if you have valid (X)HTML, you&#8217;re ensuring that your <strong>website will work with future technologies</strong>.</p><h5>4. Google prefers valid code</h5><p>Shaun Anderson conducted an interesting validation test; <a
href="http://www.hobo-web.co.uk/seo-blog/index.php/official-google-prefers-valid-html-css/">Does Google like valid code?</a>.</p><p>This experiment included 4 pages with the same content but a mixture of valid and non-valid HTML and CSS. The result was that <strong>Google picked up the page that had valid HTML</strong> and valid CSS and indexed this page over the rest.</p><h5>5. Accessibility</h5><p>A valid site is more likely to be <strong>accessible to all types of browsers</strong>, platforms and screen readers.</p><h5>6. Self satisfaction</h5><p>If <strong>feels good</strong> when you <a
href="http://validator.w3.org/">run a validation check</a> on your site and you see the green bar appear :)</p><h4>What are the common validation errors and how to fix them?</h4><h5>a. Ampersands</h5><p>This always catches me out. Ampersands must be written &#8216;<strong>&amp;amp;</strong>&#8216; and not just &#8216;&amp;&#8217;. This is true for writing urls too.</p><pre><code>&lt;a href="http://images.google.com/imghp?hl=en&amp;amp;tab=wi"&gt;</code></pre><h5>b. Quotations</h5><p>Element property values must be put within quotes.</p><pre><code>&lt;body bgcolor="#ffffff"&gt;</code></pre><h5>c. Closing tags</h5><p>All elements must be closed off, even image tags if you&#8217;re using a XHTML DTD.</p><pre><code>&lt;img src="image.jpg" alt="Image" /&gt;</code></pre><h5>d. Doctypes</h5><p>Your page must have a valid Document Type Definition (DTD) at the top of the page, and take note that it is case sensitive.</p><pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</code></pre><h5>e. Nesting elements incorrectly</h5><p>Elements must be opened and closed in order.</p><pre><code>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Paragraph&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;</code></pre><h4>Do the web&#8217;s biggest sites validate?</h4><p>So do all the big and popular websites out there validate? Below I&#8217;ve put together a selection of some of the most popular websites and ordered them from best(valid) to worst.</p><h5><a
href="http://www.bbc.co.uk/">BBC</a></h5><div
style="text-align:center;"><a
href="http://www.bbc.co.uk/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-13.png" alt="BBC" border="0" width="540" height="100" /></a></div><h5><a
href="http://wikipedia.org/">Wikipedia</a></h5><div
style="text-align:center;"><a
href="http://wikipedia.org/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-15.png" alt="Wikipedia" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.apple.com/">Apple</a></h5><div
style="text-align:center;"><a
href="http://www.apple.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-12.png" alt="CM Capture 12.png" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.facebook.com/">Facebook</a></h5><div
style="text-align:center;"><a
href="http://www.facebook.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-9.png" alt="Facebook" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.number10.gov.uk/">Number 10</a></h5><div
style="text-align:center;"><a
href="http://www.number10.gov.uk/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-21.png" alt="Number 10" border="0" width="540" height="100" /></a></div><h5><a
href="http://digg.com/">Digg</a></h5><div
style="text-align:center;"><a
href="http://digg.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-8.png" alt="Digg" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.yahoo.com/">Yahoo</a></h5><div
style="text-align:center;"><a
href="http://www.yahoo.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-4.png" alt="Yahoo" border="0" width="540" height="100" /></a></div><h5><a
href="http://twitter.com/">Twitter</a></h5><div
style="text-align:center;"><a
href="http://twitter.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-19.png" alt="Twitter" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.timesonline.co.uk/tol/news/">Times Online</a></h5><div
style="text-align:center;"><a
href="http://www.timesonline.co.uk/tol/news/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-20.png" alt="Times" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.google.com/">Google</a></h5><div
style="text-align:center;"><a
href="http://www.google.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-3.png" alt="Google" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.youtube.com/">YouTube</a></h5><div
style="text-align:center;"><a
href="http://www.youtube.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-17.png" alt="YouTube" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.barackobama.com/index.php">Barack Obama</a></h5><div
style="text-align:center;"><a
href="http://www.barackobama.com/index.php"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-18.png" alt="Barack Obama" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.microsoft.com/en/us/default.aspx">Microsoft</a></h5><div
style="text-align:center;"><a
href="http://www.microsoft.com/en/us/default.aspx"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-16.png" alt="Microsoft" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.ebay.com/">eBay</a></h5><div
style="text-align:center;"><a
href="http://www.ebay.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-14.png" alt="eBay" border="0" width="540" height="100" /></a></div><h4>What about the design community?</h4><p>Looking at some of the biggest sites (and authors) in the design and technology community.</p><h5><a
href="http://www.alistapart.com/">A List Apart</a></h5><div
style="text-align:center;"><a
href="http://www.alistapart.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-5.png" alt="A List Apart" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.smashingmagazine.com/">Smashing Magazine</a></h5><div
style="text-align:center;"><a
href="http://www.smashingmagazine.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-7.png" alt="Smashing Magazine" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.webstandardistas.com/">Web Standardistas</a></h5><div
style="text-align:center;"><a
href="http://www.webstandardistas.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-23.png" alt="Web Standardistas" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.zeldman.com/">Zeldman</a></h5><div
style="text-align:center;"><a
href="http://www.zeldman.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-24.png" alt="Zeldman" border="0" width="540" height="100" /></a></div><h5><a
href="http://futureofwebdesign.com/">Future of Web Design</a></h5><div
style="text-align:center;"><a
href="http://futureofwebdesign.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-27.png" alt="FOWD" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.useit.com/">Use It</a></h5><div
style="text-align:center;"><a
href="http://www.useit.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-6.png" alt="Use It" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.37signals.com/">37 Signals</a></h5><div
style="text-align:center;"><a
href="http://www.37signals.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-26.png" alt="37 Signals" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.simplebits.com/">Simple Bits</a></h5><div
style="text-align:center;"><a
href="http://www.simplebits.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-25.png" alt="Simple Bits" border="0" width="540" height="100" /></a></div><h5><a
href="http://freelanceswitch.com/">Freelance Switch</a></h5><div
style="text-align:center;"><a
href="http://freelanceswitch.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-28.png" alt="Freelance Switch" border="0" width="540" height="100" /></a></div><h5><a
href="http://slashdot.org/">Slashdot</a></h5><div
style="text-align:center;"><a
href="http://slashdot.org/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-11.png" alt="Slashdot" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.techcrunch.com/">TechCrunch</a></h5><div
style="text-align:center;"><a
href="http://www.techcrunch.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/cm-capture-22.png" alt="TechCrunch" border="0" width="540" height="100" /></a></div><h4>Conclusion</h4><p>I think it&#8217;s worthwhile validating your websites and it&#8217;s good practice. From looking at the sites above however (which are all great sites and designs), it&#8217;s obvious that not having a validated website is not the end of the world.</p><p>If you&#8217;re like me though <strong>you&#8217;ll sleep better at night knowing your website validates</strong>.</p><h4>Does your site validate?</h4><p>It was very hard work trying to track down valid websites for this post so it would be great to see some examples. Use the <a
href="http://validator.w3.org/">W3C Validator to check your site</a> then submit your link and comments below.</p><p>It would also be good to hear your points about validation and if you think it&#8217;s worthwhile.</p><h4>Further Reading</h4><ul><li><a
href="http://www.w3.org/">W3C</a></li><li><a
href="http://validator.w3.org/">W3C Validator</a></li><li><a
href="http://xhtml-css.com/">XHTML-CSS Validator</a></li><li><a
href="http://www.hobo-web.co.uk/seo-blog/index.php/official-google-prefers-valid-html-css/">Google SEO test</a></li><li><a
href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer Toolbar for Firefox</a></li></ul><p><span
style="color:#aaa;">Sponsored link:</span> <a
href="http://LusterForever.com">LusterForever.com</a> &#8211; Cool silver charms and leather bracelets design! <a
href="http://www.totallymystyle.com/">Totally awesome sterling silver bracelets</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/how-important-is-valid-html-web-standards/feed/</wfw:commentRss> <slash:comments>49</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.114 seconds using disk: basic

Served from: www.leemunroe.com @ 2012-02-04 04:12:52 -->
