<?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>Siam Communications Web Services &#38; Tools &#187; web page validation</title>
	<atom:link href="http://www.siamcomm.com/tag/web-page-validation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.siamcomm.com</link>
	<description>Simple Web Sites that Produce Results</description>
	<lastBuildDate>Mon, 26 Jul 2010 09:01:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Why Validate Your Website &#8211; Updated</title>
		<link>http://www.siamcomm.com/website-design/why-validate-your-website/</link>
		<comments>http://www.siamcomm.com/website-design/why-validate-your-website/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 15:59:36 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Website Design]]></category>
		<category><![CDATA[css valid]]></category>
		<category><![CDATA[html valid]]></category>
		<category><![CDATA[validation]]></category>
		<category><![CDATA[validation tools]]></category>
		<category><![CDATA[web page validation]]></category>
		<category><![CDATA[Web Tools]]></category>

		<guid isPermaLink="false">http://www.siamcomm.com/blog/?p=472</guid>
		<description><![CDATA[Have you ever visited a website and noticed the compliance or validation badge? The badge usually says something like "HTML Valid", "CSS Valid" or has the HTML or CSS word in it with a big check mark. There are many variations, but the idea is to portray the page as "VALID".

I got to seeing this enough that I began to wonder what it meant. And why was it important that a page be "valid".

This article looks at what validation means, why it's important, and how to valid your web pages to the industry standard.


Related posts:<ol><li><a href='http://www.siamcomm.com/website-design/css-frameworks-first-looks/' rel='bookmark' title='Permanent Link: CSS Frameworks: First Looks'>CSS Frameworks: First Looks</a></li>
<li><a href='http://www.siamcomm.com/website-design/most-popular-browser-screen-size/' rel='bookmark' title='Permanent Link: Most Popular Browser, Screen Size'>Most Popular Browser, Screen Size</a></li>
<li><a href='http://www.siamcomm.com/website-design/browser-statistics-for-2008/' rel='bookmark' title='Permanent Link: Browser Statistics for 2008'>Browser Statistics for 2008</a></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.siamcomm.com%2Fwebsite-design%2Fwhy-validate-your-website%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.siamcomm.com%2Fwebsite-design%2Fwhy-validate-your-website%2F&amp;source=siamcomm&amp;style=normal&amp;service=bit.ly&amp;service_api=erbuc%3AR_4b34be0ba7f3518b2ad9e2565167eeae&amp;space=1" height="61" width="50" /><br />
			</a>
		</div>
<p>Have you ever visited a website and noticed the compliance or validation badge? The badge usually says something like &#8220;<strong><em>HTML Valid</em></strong>&#8220;, &#8220;<strong><em>CSS Valid</em></strong>&#8221; or has the HTML or CSS word in it with a big check mark. There are many variations but the idea is to portray the page as &#8220;VALID&#8221;.</p>
<p>I got to seeing this enough that I began to wonder what it meant. And why was it important that a page be &#8220;valid&#8221;.</p>
<p>First, let&#8217;s understand what it means to <strong>have a valid web page</strong>. Then, this will help us why we might want our website to be branded as &#8220;valid&#8221;.</p>
<p>According to the <a href="http://validator.w3.org/docs/why.html"><strong>World Wide Web Consortium (W3C)</strong></a>, &#8220;validation is a process of checking your documents against a formal Standard &#8230; for HTML and XML-derived Web document types&#8221;. The WC3 develops and maintains the specifications and guidelines for the web in the interest of keeping standards at the heart of what the Internet is built upon.</p>
<p>These same standards effect how browsers work and render web pages.</p>
<p>So as long as your web pages are written, or generated according to the specifications outlined by the W3C, your website site should be &#8220;valid&#8221;. This is true to a point, and much easier said than done.</p>
<p>If you have ever undertaken a website design project, you have probably played with your HTML files until everything looked absolutely perfect. Happy with your accomplishment, you pop off an email to all of your friends to proudly show off your new creation. Moments later, one of your friends tells you about a part of your page that just doesn&#8217;t look right. Horrified, you bring up the page in your browser and feel relieved for a very brief moment to see it render properly. Then you realize that your friend is using a different browser, and that the trick you read about on the web that caused that cool effect was causing the page to render improperly in certain browsers.</p>
<p>Non-valid pages are relying on the built-in error-correction of the users browser. This error correction acts very different across the various browsers and versions. Not so long ago, many website authors used a trick that worked in Netscape 1.1 and suddenly found their pages were totally blank in Netscape 2.0. As browsers have moved more towards being standards compliant, we see less of this issue with the way browsers render HTML and more problems with the way they handle CSS.</p>
<p>This brings us to the reason <strong>why to validate your website</strong>.</p>
<p>The difference in the way browsers render a page is a primary reason to validate your code. Many of us start out designing websites with WYSIWYG web page editors that can improperly generate a web page, and not necessarily to a published standard. Running a web page through a validation service will point out where any problems might exist.</p>
<p>Many of use also enjoy the creativity we can engage in when designing a site. When rendered properly, these creative tricks are reason for website visitors to be impressed. But if you&#8217;re a designer looking to make an impression on a client, and they visit using a different browser, the effects could be disastrous to our website design careers. Validation helps us stick to the standards.</p>
<p>With the popularity of WordPress and other Content Management Systems (CMS), many web pages are generated dynamically. Validation will help point out any errors in our code where the HTML is not being generated properly.</p>
<p>Using non-standard HTML also introduces the risk of having to rewrite your web pages later. There are HTML tags that are introduced from time to time that don&#8217;t last very long in the standards. Using one of these may produce some cool effects. But once the browsers stop supporting it, your page will look like an amateur. Does anyone remember the &#8220;layer&#8221; or &#8220;ilayer&#8221; command?</p>
<p>Now that we have some compelling reasons to validate, <strong>how do you validate a web page</strong>?</p>
<p>The crew at W3C have been kind enough to provide a <a href="http://validator.w3.org/">Free web page validation service</a> that tests your pages against the world wide industry standard. There are other services, but as the W3C has taken lead in an effort to prevent web fragmentation, it makes sense to use a validation service that was designed to work to the <a href="http://www.w3.org/TR/">W3C Recommendations</a>.</p>
<p>They also provide services to validate specific content such as <a href="http://validator.w3.org/feed/">RSS/Atom feeds</a> or <a href="http://jigsaw.w3.org/css-validator/">CSS stylesheets</a>, <a href="http://validator.w3.org/mobile/">Mobile content</a>, or to <a href="http://validator.w3.org/checklink">find broken links</a> in your web pages. The W3C offers a range of <a href="http://www.w3.org/QA/Tools/">Quality Assurance validation tools</a>.</p>
<p>Now for the a dose of reality.</p>
<p>Once you run your web page through the validation service, you will notice some very unexpected results.</p>
<p>If you have used a DOCTYPE declaration (DTD), you will immediately notice that this value is used to determine how the rest of the page should be validated. This makes a significant difference. The DOCTYPE or DTD is required for HTML and XHTML pages and must be spelled out exactly according to the specifications. What I didn&#8217;t realize is that there is even a DTD for CSS Stylesheets as well. Here is a <a href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">complete list of DTDs</a> you can use in your web pages.</p>
<p>Getting past this first step is a major hurdle to getting your pages validated. Don&#8217;t get too frustrated. If you cannot seem to get rid of one or two errors, your pages will still render properly. The specifications and guidelines are still going through changes that are difficult to understand for most of us.</p>
<p>It demonstrates the fact that there is some significant ground to cover before we can say that there are a complete set of standards for designing web sites. It also makes you appreciate how far the industry has come and the work involved to get to where we are today.</p>


<p>Related posts:<ol><li><a href='http://www.siamcomm.com/website-design/css-frameworks-first-looks/' rel='bookmark' title='Permanent Link: CSS Frameworks: First Looks'>CSS Frameworks: First Looks</a></li>
<li><a href='http://www.siamcomm.com/website-design/most-popular-browser-screen-size/' rel='bookmark' title='Permanent Link: Most Popular Browser, Screen Size'>Most Popular Browser, Screen Size</a></li>
<li><a href='http://www.siamcomm.com/website-design/browser-statistics-for-2008/' rel='bookmark' title='Permanent Link: Browser Statistics for 2008'>Browser Statistics for 2008</a></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.siamcomm.com/website-design/why-validate-your-website/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 20/50 queries in 0.225 seconds using disk

Served from: www.siamcomm.com @ 2010-07-30 03:39:08 -->