<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: A Minimal HTML Document</title>
	<atom:link href="http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<lastBuildDate>Sat, 07 Nov 2009 23:35:20 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: patspam</title>
		<link>http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/comment-page-1/#comment-799799</link>
		<dc:creator>patspam</dc:creator>
		<pubDate>Thu, 25 Sep 2008 03:33:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3017#comment-799799</guid>
		<description>Since you&#039;re talking about best practice here, I&#039;d rather see the js script tag at the bottom of the body. That way, if people are following unobtrusive js best practice they&#039;ll get a better YSlow score.

-Patrick (patspam.com)</description>
		<content:encoded><![CDATA[<p>Since you&#8217;re talking about best practice here, I&#8217;d rather see the js script tag at the bottom of the body. That way, if people are following unobtrusive js best practice they&#8217;ll get a better YSlow score.</p>
<p>-Patrick (patspam.com)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: j9t</title>
		<link>http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/comment-page-1/#comment-799488</link>
		<dc:creator>j9t</dc:creator>
		<pubDate>Wed, 24 Sep 2008 13:21:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3017#comment-799488</guid>
		<description>Just one word (link): &lt;a href=&quot;http://meiert.com/en/blog/20080429/best-html-template/&quot; rel=&quot;nofollow&quot;&gt;“The World’s Best HTML Template.”&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Just one word (link): <a href="http://meiert.com/en/blog/20080429/best-html-template/" rel="nofollow">“The World’s Best HTML Template.”</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: arts-multimedia</title>
		<link>http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/comment-page-1/#comment-799484</link>
		<dc:creator>arts-multimedia</dc:creator>
		<pubDate>Wed, 24 Sep 2008 13:09:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3017#comment-799484</guid>
		<description>I&#039;m sometimes worried about these purists who want everybody to do exactly what the dogma says or else...
In real life, we all use several methods to come to a good result.  Being restricted to one method only leads to anaemia.</description>
		<content:encoded><![CDATA[<p>I&#8217;m sometimes worried about these purists who want everybody to do exactly what the dogma says or else&#8230;<br />
In real life, we all use several methods to come to a good result.  Being restricted to one method only leads to anaemia.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: arts-multimedia</title>
		<link>http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/comment-page-1/#comment-799481</link>
		<dc:creator>arts-multimedia</dc:creator>
		<pubDate>Wed, 24 Sep 2008 13:04:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3017#comment-799481</guid>
		<description>I&#039;m sometimes worried about these purists who want everybody to do exactly what the dogma says or else...
In real life, we all use several methods to come to a good result.  Being restricted to one method leads to anaemia!

No scripting or l.  Yet, there are tons of wonderful sites out there and I don&#039;t care if they are written in ugly this or that as long as screen readers can handle them, all is well.</description>
		<content:encoded><![CDATA[<p>I&#8217;m sometimes worried about these purists who want everybody to do exactly what the dogma says or else&#8230;<br />
In real life, we all use several methods to come to a good result.  Being restricted to one method leads to anaemia!</p>
<p>No scripting or l.  Yet, there are tons of wonderful sites out there and I don&#8217;t care if they are written in ugly this or that as long as screen readers can handle them, all is well.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: bart (Cityvox)</title>
		<link>http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/comment-page-1/#comment-799368</link>
		<dc:creator>bart (Cityvox)</dc:creator>
		<pubDate>Wed, 24 Sep 2008 07:27:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3017#comment-799368</guid>
		<description>we had some problems with   
when using script from one of our clients.
it is safer to use a chartset over here as well
</description>
		<content:encoded><![CDATA[<p>we had some problems with<br />
when using script from one of our clients.<br />
it is safer to use a chartset over here as well</p>]]></content:encoded>
	</item>
	<item>
		<title>By: AutisticCuckoo</title>
		<link>http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/comment-page-1/#comment-799341</link>
		<dc:creator>AutisticCuckoo</dc:creator>
		<pubDate>Wed, 24 Sep 2008 06:03:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3017#comment-799341</guid>
		<description>&lt;blockquote&gt;I’ve never liked the term “pretend XHTML”, as it implies we are dressing up HTML as XHTML.&lt;/blockquote&gt;
That&#039;s exactly what you&#039;re doing if you serve it as &lt;code&gt;text/html&lt;/code&gt;. No matter how much you wish it to be otherwise, it &lt;strong&gt;is&lt;/strong&gt; HTML if you serve it as such. Invalid, ugly HTML, but still HTML.

If you want it to be XHTML and make use of anything XHTML offers beyond what HTML can do, then you &lt;strong&gt;must&lt;/strong&gt; serve it as an application of XML.</description>
		<content:encoded><![CDATA[<blockquote><p>I’ve never liked the term “pretend XHTML”, as it implies we are dressing up HTML as XHTML.</p></blockquote>
<p>That&#8217;s exactly what you&#8217;re doing if you serve it as <code>text/html</code>. No matter how much you wish it to be otherwise, it <strong>is</strong> HTML if you serve it as such. Invalid, ugly HTML, but still HTML.</p>
<p>If you want it to be XHTML and make use of anything XHTML offers beyond what HTML can do, then you <strong>must</strong> serve it as an application of XML.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: dyer85</title>
		<link>http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/comment-page-1/#comment-799282</link>
		<dc:creator>dyer85</dc:creator>
		<pubDate>Wed, 24 Sep 2008 03:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3017#comment-799282</guid>
		<description>Look at what Kevin wrote more closely:
&lt;blockquote&gt;...when opened without a web server...&lt;/blockquote&gt;
The content will not be rendered as UTF-8 &lt;strong&gt;without a web server&lt;/strong&gt;, unless the browser&#039;s default is set as such. When a server isn&#039;t available to send the headers, the browser can only check the &lt;code&gt;&lt;meta&gt;&lt;/code&gt; tag specifying &lt;code&gt;Content-Type&lt;/code&gt;.

Curtis</description>
		<content:encoded><![CDATA[<p>Look at what Kevin wrote more closely:</p>
<blockquote><p>&#8230;when opened without a web server&#8230;</p></blockquote>
<p>The content will not be rendered as UTF-8 <strong>without a web server</strong>, unless the browser&#8217;s default is set as such. When a server isn&#8217;t available to send the headers, the browser can only check the <code>&lt;meta&gt;</code> tag specifying <code>Content-Type</code>.</p>
<p>Curtis</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/comment-page-1/#comment-799278</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Wed, 24 Sep 2008 03:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3017#comment-799278</guid>
		<description>&lt;a href=&quot;http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/#comment-799171&quot; rel=&quot;nofollow&quot;&gt;Kevin Yank&lt;/a&gt;:
If you had done a minimum of checking, you&#039;d see that Anne&#039;s site sends the content encoding in the http header (text/html;charset=utf-8).

PS - Anne is a &#039;he&#039; not a &#039;she&#039;.</description>
		<content:encoded><![CDATA[<p><a href="http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/#comment-799171" rel="nofollow">Kevin Yank</a>:<br />
If you had done a minimum of checking, you&#8217;d see that Anne&#8217;s site sends the content encoding in the http header (text/html;charset=utf-8).</p>
<p>PS &#8211; Anne is a &#8216;he&#8217; not a &#8217;she&#8217;.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: dyer85</title>
		<link>http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/comment-page-1/#comment-799201</link>
		<dc:creator>dyer85</dc:creator>
		<pubDate>Tue, 23 Sep 2008 23:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3017#comment-799201</guid>
		<description>Hi Kevin, nice article.

I just had one concern. You specifically state in the section, &lt;em&gt;The Breakdown&lt;/em&gt;:
&lt;blockquote&gt;The exact form of the  declaration depends on whether your document is HTML 4 (fine for most purposes) or XHTML 1 (enables the page to be processed as XML)...&lt;/blockquote&gt;

Although it may be correct XHTML 1.0 to serve as &lt;code&gt;text/html&lt;/code&gt;, AFAIK, even browsers capable of serving pages using the XML parser will not do so unless the MIME type is set as &lt;code&gt;application/xhtml+xml&lt;/code&gt;. If this is indeed the case, setting the &lt;code&gt;DOCTYPE&lt;/code&gt; to use XHTML isn&#039;t sufficient to make the browser use XML parsing.

You might consider making a separate section for XHTML 1.1, which should always be served with &lt;code&gt;application/xhtml+xml&lt;/code&gt;, IIRC.</description>
		<content:encoded><![CDATA[<p>Hi Kevin, nice article.</p>
<p>I just had one concern. You specifically state in the section, <em>The Breakdown</em>:</p>
<blockquote><p>The exact form of the  declaration depends on whether your document is HTML 4 (fine for most purposes) or XHTML 1 (enables the page to be processed as XML)&#8230;</p></blockquote>
<p>Although it may be correct XHTML 1.0 to serve as <code>text/html</code>, AFAIK, even browsers capable of serving pages using the XML parser will not do so unless the MIME type is set as <code>application/xhtml+xml</code>. If this is indeed the case, setting the <code>DOCTYPE</code> to use XHTML isn&#8217;t sufficient to make the browser use XML parsing.</p>
<p>You might consider making a separate section for XHTML 1.1, which should always be served with <code>application/xhtml+xml</code>, IIRC.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Yank</title>
		<link>http://www.sitepoint.com/blogs/2008/09/23/a-minimal-html-document/comment-page-1/#comment-799171</link>
		<dc:creator>Kevin Yank</dc:creator>
		<pubDate>Tue, 23 Sep 2008 21:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3017#comment-799171</guid>
		<description>&lt;blockquote&gt;Would it be trollish to point out Anne’s Weblog? View source if you don’t know what I mean.&lt;/blockquote&gt;

Anne’s code leaves out the &lt;code&gt;&lt;html&gt;&lt;/code&gt;, &lt;code&gt;&lt;head&gt;&lt;/code&gt;, and &lt;code&gt;&lt;body&gt;&lt;/code&gt; tags, which is perfectly legal to do in an HTML 4 document, much as it was for HTML 3.2 (as mentioned at the top of my article). This &quot;ultra-minimalism&quot; does sacrifice a couple of benefits that I would not be comfortable with on most sites, however.

The most important element she has left out is the &lt;code&gt;lang&lt;/code&gt; attribute on the &lt;code&gt;&lt;html&gt;&lt;/code&gt; tag, which identifies the primary language in use in the page. Search engines and other spidering systems make good use of this information.

The fact that she has no &lt;code&gt;content-type&lt;/code&gt; &lt;code&gt;&lt;meta&gt;&lt;/code&gt; tag will cause the files that make up her site to be interpreted as Latin-1 encoded text, instead of UTF-8, when opened without a web server. But if that is not an issue for her, then she can do without it.</description>
		<content:encoded><![CDATA[<blockquote><p>Would it be trollish to point out Anne’s Weblog? View source if you don’t know what I mean.</p></blockquote>
<p>Anne’s code leaves out the <code>&lt;html&gt;</code>, <code>&lt;head&gt;</code>, and <code>&lt;body&gt;</code> tags, which is perfectly legal to do in an HTML 4 document, much as it was for HTML 3.2 (as mentioned at the top of my article). This &#8220;ultra-minimalism&#8221; does sacrifice a couple of benefits that I would not be comfortable with on most sites, however.</p>
<p>The most important element she has left out is the <code>lang</code> attribute on the <code>&lt;html&gt;</code> tag, which identifies the primary language in use in the page. Search engines and other spidering systems make good use of this information.</p>
<p>The fact that she has no <code>content-type</code> <code>&lt;meta&gt;</code> tag will cause the files that make up her site to be interpreted as Latin-1 encoded text, instead of UTF-8, when opened without a web server. But if that is not an issue for her, then she can do without it.</p>]]></content:encoded>
	</item>
</channel>
</rss>
