<?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>Web Design and SEO Blog - Blizzard DigitalPosts tagged Web Standards</title>
	<atom:link href="http://www.bliznet.com/tag/web-standards/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bliznet.com</link>
	<description>Internet marketing and web design experience.</description>
	<lastBuildDate>Fri, 18 Jun 2010 19:32:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Valid Flash Embed and Preloaders in Internet Explorer</title>
		<link>http://www.bliznet.com/valid-flash-embed-and-preloaders/</link>
		<comments>http://www.bliznet.com/valid-flash-embed-and-preloaders/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 18:56:32 +0000</pubDate>
		<dc:creator>Kyle Blizzard</dc:creator>
				<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Conditional Comments]]></category>
		<category><![CDATA[Embed]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Preloader]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.bliznet.com/?p=731</guid>
		<description><![CDATA[Hello once again, web friends. Today I bring tidings of Flash preloaders and validity. You may have noticed that with the embed code from my YouTube article that Flash movie preloaders don&#8217;t work in Internet Explorer, and the movie has to load entirely before it even displays at all. This is because Internet Explorer requires [...]]]></description>
			<content:encoded><![CDATA[<p>Hello once again, web friends. Today I bring tidings of Flash preloaders and validity.</p>
<p>You may have noticed that with the embed code from my <a href="/valid-flash-embed/">YouTube article</a> that Flash movie preloaders don&#8217;t work in Internet Explorer, and the movie has to load entirely before it even displays at all. This is because Internet Explorer requires a different attribute and the removal of another in the <code>object</code> tag to let preloaders work properly. However, with different attributes, the Flash movie will not display at all in Firefox, so we must use Internet Explorer&#8217;s <a href="http://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx">conditional comments</a> to utilize two different opening <code>object</code> tags. Behold:</p>
<pre><code>&lt;!--[if !IE]&gt;--&gt;&lt;object data="yourmovie.swf" type="application/x-shockwave-flash"
	width="320" height="240"&gt;&lt;!--&lt;![endif]--&gt;
&lt;!--[if IE]&gt;&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
	width="320" height="240"&gt;&lt;![endif]--&gt;
	&lt;param name="movie" value="yourmovie.swf" /&gt;
	&lt;param name="quality" value="high" /&gt;
&lt;/object&gt;</code></pre>
<p>The first line is the original that works in both IE and Firefox but doesn&#8217;t allow preloaders in IE. The second is the IE-only method that works with preloaders. Note the lack of a <code>data</code> attribute and the addition of a <code>classid</code> attribute.</p>
<p>Well, there you have it. Venture forth and embed Flash validly with preload animations!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bliznet.com/valid-flash-embed-and-preloaders/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Semantic Markup &#8211; Why Should You Use It?</title>
		<link>http://www.bliznet.com/semantic-markup/</link>
		<comments>http://www.bliznet.com/semantic-markup/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 16:00:42 +0000</pubDate>
		<dc:creator>Kyle Blizzard</dc:creator>
				<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Data Extraction]]></category>
		<category><![CDATA[Semantic Markup]]></category>
		<category><![CDATA[Semantics]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.bliznet.com/?p=529</guid>
		<description><![CDATA[Why should you use semantic markup when designing your website pages?]]></description>
			<content:encoded><![CDATA[<p>Your markup should have meaning. Markup your content appropriately (e.g. put your address and phone number in the <code>address</code> element) and it becomes much more readable to search engines and other software used for data extraction. Using only <code>div</code> and <code>span</code> elements leaves much to be desired, semantically speaking. These elements are certainly indispensable, however, there are some cases where there are more meaningful elements to use. For example:</p>
<ul>
<li>Use <code>h1</code> as your page title; use <code>h2</code> and on appropriately as sub-headings on the page. This provides an outline of your document.</li>
<li>Use lists (<code>dl</code>, <code>ol</code>, <code>ul</code>) instead of manually placing numbers or bullets.</li>
<li>Use <code>address</code> for any contact information on your page, including physical address, email address, phone numbers, and whatever else you would consider to be contact info.</li>
<li>Use <code>table</code> on data best represented in rows and columns. Use <code>thead</code> and <code>th</code> to markup the column headings and <code>tbody</code> for the data itself.</li>
</ul>
<p>Check the <a href="http://www.w3.org/TR/html401/struct/text.html">HTML spec</a> for additional meaningful elements and get to work! <img src='http://www.bliznet.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can use the W3&#8242;s handy <a href="http://www.w3.org/2003/12/semantic-extractor.html">Semantic Data Extractor</a> tool to test your new semantic web site to give you an idea of how it would be seen by software.</p>
<p>That does it for now. See you next time! Until then, read <a href="http://www.bliznet.com/seo-and-validation/">SEO and Validation</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bliznet.com/semantic-markup/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Valid Flash Embed &#8211; Make That YouTube Embed Valid!</title>
		<link>http://www.bliznet.com/valid-flash-embed/</link>
		<comments>http://www.bliznet.com/valid-flash-embed/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 03:11:58 +0000</pubDate>
		<dc:creator>Kyle Blizzard</dc:creator>
				<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Embed Code]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Markup]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Validation]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.bliznet.com/?p=524</guid>
		<description><![CDATA[Find out how to make that YouTube embed valid.]]></description>
			<content:encoded><![CDATA[<p>Hola! It&#8217;s been a while. I&#8217;ve got another gripe, and this time it&#8217;s with Flash embed code!</p>
<p>Most of the embed code I see for Flash movies is invalid, usually containing the non-existent <code>embed</code> element or some-such. Even the code provided by YouTube for embedding videos contains <code>embed</code>. This can easily be thrown out and will—probably most of the time—instantly make your code valid.</p>
<p>Here&#8217;s an example (in XHTML) of a valid Flash embed that works in at least IE6+, Firefox, and Safari:</p>
<p><code>&lt;object data="flash.swf" type="application/x-shockwave-flash" width="320" height="240"&gt;<br />
&lt;param name="movie" value="flash.swf" /&gt;<br />
&lt;/object&gt;</code></p>
<p>That&#8217;s all there is to it. Adjust the parameters and add additional <code>param</code> elements as necessary. If your Flash movie requires variables, just add an extra <code>param</code> as follows:</p>
<p><code>&lt;param name="flashvars" value="arg1=foo&amp;amp;arg2=bar" /&gt;</code></p>
<p>If you place additional elements inside the <code>object</code> element, it will act as a fallback, displaying if the Flash plugin isn&#8217;t installed. For example:</p>
<p><code>&lt;object data="flash.swf" type="application/x-shockwave-flash" width="320" height="240"&gt;<br />
&lt;param name="movie" value="flash.swf" /&gt;<br />
&lt;img src="fallback.jpg" alt="Flash Didn't Load!" /&gt;<br />
&lt;/object&gt;</code></p>
<p>That&#8217;s all for now. Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bliznet.com/valid-flash-embed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Standards Again</title>
		<link>http://www.bliznet.com/web-standards-again/</link>
		<comments>http://www.bliznet.com/web-standards-again/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 14:38:36 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.bliznet.com/?p=160</guid>
		<description><![CDATA[How does a website benefit from web standards and valid markup?]]></description>
			<content:encoded><![CDATA[<p>Greetings! Many times we have clients that have trouble understanding the role of web standards and why they are important. So I created this high level explanation that I hope will suffice. It is, by its very nature, simplified and incomplete, so don&#8217;t stone me to death. Here goes&#8230;</p>
<p>The World Wide Web Consortium (<a href="http://www.w3.org">www.w3.org</a>) is the standards body for the internet. They define the standard “language” or markup that web pages are written in. All of our documents are written in the strict flavor of XHTML (eXtensible Hypertext Markup Language) 1.0 which is very intolerant of errors. Conforming to these standards has several practical benefits. First, the site is easier to update since all of the content is easy to read and logically organized. This reduces cost for updates to the site. The W3 provides a validator to check pages against the XHTML standard and report any errors that it finds.</p>
<p>Secondly, strict XHTML mandates that the graphical presentation of the page (how it looks) be separated from the actual content of the page. So there is a separate file we create called a “stylesheet” that determines how the page will look. All of the graphics, colors, and layout are determined by this stylesheet. This is a benefit because it makes for smaller, faster loading pages which can rank higher in search engines than bloated pages that are slow to load. It also makes it easier to update how the site looks. For example, as autumn approaches you could change the entire look of the site by changing the colors in the stylesheet to fall colors. This is much more efficient than redesigning a site in the old days when each individual page had to be changed at great expense.</p>
<p>Lastly, search engines look for unique, relevant content that is organized well. By keeping all of the content in a separate file, the content can be organized so that the most important information is close to the top of the document while repetitive elements such as the navigation links are closer to the footer.</p>
<p>Be sure to read this post about <a href="http://www.bliznet.com/seo-and-validation/">HTML validation for SEO</a></p>
<p>There is a great FAQ on web standards and their importance at: <a href="http://www.webstandards.org/learn/faq/">http://www.webstandards.org/learn/faq/</a></p>
<p>Good Luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bliznet.com/web-standards-again/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ASP.NET and XHTML Validation</title>
		<link>http://www.bliznet.com/aspnet-and-xhtml-validation/</link>
		<comments>http://www.bliznet.com/aspnet-and-xhtml-validation/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 19:06:03 +0000</pubDate>
		<dc:creator>Kyle Blizzard</dc:creator>
				<category><![CDATA[Web Platforms]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Validation]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.bliznet.com/?p=109</guid>
		<description><![CDATA[How to make ASP.NET play nice with the W3 Validator and render a valid XHTML Strict form.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever created an XHTML 1.0 Strict page containing an ASP.NET <code>form</code> element and ran it through the <a href="http://validator.w3.org/">W3 Validator</a>, you&#8217;ve undoubtedly noticed it&#8217;s reported as being invalid no matter what you do and no matter how valid the code actually appears. This is because ASP.NET adjusts the way it renders markup according to the requesting user agent. ASP.NET pities the W3 Validator and sends it bad code. <a href="http://weblogs.asp.net/marksmith/archive/2007/10/18/xhtml-strict-validation.aspx">This can be fixed with a &#8220;browser&#8221; file</a>. The file and instructions on its use are available from that page.</p>
<p>However, that&#8217;s not all. The validator will now see your pages the way you see them in your browser, but ASP.NET is still rendering an invalid <code>name</code> attribute on your <code>form</code> element! You need to add a line to the <code>system.web</code> section of your web.config file:</p>
<div class="code-example"><code>&lt;xhtmlConformance mode="Strict" /&gt;</code></div>
<p>Now ASP.NET plays nice with the W3 Validator <em>and</em> renders a valid XHTML Strict <code>form</code>! Now you can stop using the XHTML Transitional doctype and start using the XHTML Strict doctype on your ASP.NET pages!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bliznet.com/aspnet-and-xhtml-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Target Attribute and Strict XHTML</title>
		<link>http://www.bliznet.com/the-target-attribute-and-strict-xhtml/</link>
		<comments>http://www.bliznet.com/the-target-attribute-and-strict-xhtml/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 18:22:02 +0000</pubDate>
		<dc:creator>Kyle Blizzard</dc:creator>
				<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[New Window]]></category>
		<category><![CDATA[Target]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.bliznet.com/?p=102</guid>
		<description><![CDATA[How to open links in a new window because target is not a valid attribute in XHTML 1.0 Strict.]]></description>
			<content:encoded><![CDATA[<p>So, you&#8217;ve decided to start creating your web sites with valid strict XHTML 1.0 and CSS. Your client wants a &#8220;links&#8221; page containing none other than links to other web sites. So you oblige and, to keep your client&#8217;s visitors on his site, you make the links open in a new window. So you throw in <code>target="blank"</code> and you&#8217;re done. Just run it through the W3 validator&#8230;</p>
<p><em>There is no attribute &#8220;target&#8221;? What gives?!</em></p>
<p>Yes, indeed, <code>target</code> is not a valid attribute in XHTML 1.0 Strict. There&#8217;s really only one way around it of which I&#8217;m aware, and that&#8217;s by using Javascript. My preferred method is as follows:</p>
<div class="code-example"><code>&lt;a href="http://www.bliznet.com/" onclick="window.open(this.href, 'OffSite').focus(); return false;"&gt;</code></div>
<p>This opens the URL in a new window and brings it into focus if the user had previously opened an &#8220;OffSite&#8221; window and didn&#8217;t close it.</p>
<p>You would still put the desired URL in the <code>href</code> attribute just like with any hyperlink. That way, if the visitor for some reason has Javascript disabled, the link still functions correctly. It just wouldn&#8217;t open in a new window.</p>
<p>One caveat though—in Firefox 2 and later with default settings, this code causes the linked site to open in a new tab, not a new window. If you find this to be a problem, there is a way around it, and that&#8217;s by adding the window options parameter such as:</p>
<div class="code-example"><code>&lt;a href="http://www.bliznet.com/" onclick="window.open(this.href, 'OffSite', 'directories=yes,location=yes,menubar=yes,resizable=yes,scrollbars=yes,toolbar=yes').focus(); return false;"&gt;</code></div>
<p>Those are all the options required to make the window appear normally with default tool and menu bars—kind of a pain. At this point, you may want to move the code into an external Javascript file. The function I use typically looks like the following:</p>
<div class="code-example"><code>function OpenOffSite(a)<br />
{<br />
window.open(a.href, "OffSite", "directories=yes,location=yes,menubar=yes,resizable=yes,scrollbars=yes,toolbar=yes").focus();<br />
return false;<br />
}</code></div>
<p>Then the <code>onclick</code> attribute of your anchor would look like so:</p>
<div class="code-example"><code>&lt;a href="http://www.bliznet.com/" onclick="return OpenOffSite(this);"&gt;</code></div>
<p>Your links now open in a new window! Welcome to the world of XHTML conformity. <img src='http://www.bliznet.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bliznet.com/the-target-attribute-and-strict-xhtml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
