<?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: Code in XHTML/CSS</title>
	<atom:link href="http://www.krizka.net/2007/09/16/code-in-xhtmlcss/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.krizka.net/2007/09/16/code-in-xhtmlcss/</link>
	<description>A geek's view of the world...</description>
	<lastBuildDate>Fri, 12 Mar 2010 15:28:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ankur</title>
		<link>http://www.krizka.net/2007/09/16/code-in-xhtmlcss/comment-page-1/#comment-5434</link>
		<dc:creator>Ankur</dc:creator>
		<pubDate>Tue, 20 Nov 2007 21:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.krizka.net/2007/09/16/code-in-xhtmlcss/#comment-5434</guid>
		<description>You shouldn&#039;t encourage people to use XHTML - rather encourage them to use HTML properly. Take a look at your own Content-Type:

&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;

You&#039;re serving with an XHTML doctype and a HTML content-type. This is VERY WRONG(tm).

&gt; However this problem is not going anywhere, because many browsers still support HTML code that is both valid and invalid.

And browsers support XHTML that is tag soup. As in XHTML served as HTML as in 99% of all XHTML sites, (including this one).

Unfortunately,

   1. Easier to parse by search engines and other spiders

They parse the content. XHTML or HTML doesn&#039;t make much difference.

   2. Easier to change in the future, just edit one line in the stylesheet

You mean you don&#039;t use CSS with HTML? Actually stylesheets are harder for designers in XHTML than HTML. The tags must be lower-case and html tag is the main one rather than body in XHTML.

   3. Easier to change a lot of different tags

No idea what you mean.

   4. Many more options that are missing from HTML (ei: fancy borders, different list bullets)

Are you serious? This is CSS not HTML or XHTML and is present in both.

   5. Faster loading times because of reduced file size

XHTML will almost always have a larger file size because it needs to be strictly valid or it&#039;ll throw a fatal error.

--

You&#039;re right in saying there are advantages to using XHTML - I use it on my own site. BUT the benefits you&#039;ve listed are for HTML. Designers SHOULD use HTML NOT XHTML. XHTML is XML. It&#039;s for parsing by machines. It&#039;s for using other namespaces. HTML is for &quot;web design&quot;.

Arguing about table-based layouts is irrelevant - you do that in both XHTML and HTML.

The real sin here is not using HTML - HTML is good. The sin is using XHTML and not knowing what it actually is. Because it&#039;s certainly not a substitute for HTML, and serving it as text/html is almost akin to using ill-formed HTML anyway.

--

Now, I don&#039;t mean anything personally, but unfortunately, this prevailing view that XHTML is &quot;better&quot; than HTML is simply untrue and unfounded and is harming the web.</description>
		<content:encoded><![CDATA[<p>You shouldn&#8217;t encourage people to use XHTML &#8211; rather encourage them to use HTML properly. Take a look at your own Content-Type:</p>
<p>&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=UTF-8&#8243; /&gt;</p>
<p>You&#8217;re serving with an XHTML doctype and a HTML content-type. This is VERY WRONG(tm).</p>
<p>&gt; However this problem is not going anywhere, because many browsers still support HTML code that is both valid and invalid.</p>
<p>And browsers support XHTML that is tag soup. As in XHTML served as HTML as in 99% of all XHTML sites, (including this one).</p>
<p>Unfortunately,</p>
<p>   1. Easier to parse by search engines and other spiders</p>
<p>They parse the content. XHTML or HTML doesn&#8217;t make much difference.</p>
<p>   2. Easier to change in the future, just edit one line in the stylesheet</p>
<p>You mean you don&#8217;t use CSS with HTML? Actually stylesheets are harder for designers in XHTML than HTML. The tags must be lower-case and html tag is the main one rather than body in XHTML.</p>
<p>   3. Easier to change a lot of different tags</p>
<p>No idea what you mean.</p>
<p>   4. Many more options that are missing from HTML (ei: fancy borders, different list bullets)</p>
<p>Are you serious? This is CSS not HTML or XHTML and is present in both.</p>
<p>   5. Faster loading times because of reduced file size</p>
<p>XHTML will almost always have a larger file size because it needs to be strictly valid or it&#8217;ll throw a fatal error.</p>
<p>&#8211;</p>
<p>You&#8217;re right in saying there are advantages to using XHTML &#8211; I use it on my own site. BUT the benefits you&#8217;ve listed are for HTML. Designers SHOULD use HTML NOT XHTML. XHTML is XML. It&#8217;s for parsing by machines. It&#8217;s for using other namespaces. HTML is for &#8220;web design&#8221;.</p>
<p>Arguing about table-based layouts is irrelevant &#8211; you do that in both XHTML and HTML.</p>
<p>The real sin here is not using HTML &#8211; HTML is good. The sin is using XHTML and not knowing what it actually is. Because it&#8217;s certainly not a substitute for HTML, and serving it as text/html is almost akin to using ill-formed HTML anyway.</p>
<p>&#8211;</p>
<p>Now, I don&#8217;t mean anything personally, but unfortunately, this prevailing view that XHTML is &#8220;better&#8221; than HTML is simply untrue and unfounded and is harming the web.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karol Krizka</title>
		<link>http://www.krizka.net/2007/09/16/code-in-xhtmlcss/comment-page-1/#comment-147</link>
		<dc:creator>Karol Krizka</dc:creator>
		<pubDate>Mon, 17 Sep 2007 20:18:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.krizka.net/2007/09/16/code-in-xhtmlcss/#comment-147</guid>
		<description>I used to think along the same lines as you for some time. But recently I realized that using a fluid layout was quite a lot more efficient. It also reduces the size of the whole website.

This topic does deserve further discussion though, and I&#039;m putting it on my To Blog list. :)</description>
		<content:encoded><![CDATA[<p>I used to think along the same lines as you for some time. But recently I realized that using a fluid layout was quite a lot more efficient. It also reduces the size of the whole website.</p>
<p>This topic does deserve further discussion though, and I&#8217;m putting it on my To Blog list. <img src='http://www.krizka.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan Beal</title>
		<link>http://www.krizka.net/2007/09/16/code-in-xhtmlcss/comment-page-1/#comment-143</link>
		<dc:creator>Stephan Beal</dc:creator>
		<pubDate>Mon, 17 Sep 2007 15:59:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.krizka.net/2007/09/16/code-in-xhtmlcss/#comment-143</guid>
		<description>&quot;...and their layout is using many tables nested within in each other. This is a bad practice...&quot;

For years i&#039;ve heard web designers bitch about using nested tables (or any tables at all) for layout control, but not one has yet been able to tell me WHY. i hear the &quot;separation of content and layout&quot; argument from time to time, but if using template tags to replace the content during page generation then that point is largely moot because the content and layout *are* separated.

So... what is SO evil about using tables for layout? (Let&#039;s not forget that it&#039;s the only *portable* way to manage HTML layout. Even text-based browsers can work with tables.)</description>
		<content:encoded><![CDATA[<p>&#8220;&#8230;and their layout is using many tables nested within in each other. This is a bad practice&#8230;&#8221;</p>
<p>For years i&#8217;ve heard web designers bitch about using nested tables (or any tables at all) for layout control, but not one has yet been able to tell me WHY. i hear the &#8220;separation of content and layout&#8221; argument from time to time, but if using template tags to replace the content during page generation then that point is largely moot because the content and layout *are* separated.</p>
<p>So&#8230; what is SO evil about using tables for layout? (Let&#8217;s not forget that it&#8217;s the only *portable* way to manage HTML layout. Even text-based browsers can work with tables.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karol Krizka</title>
		<link>http://www.krizka.net/2007/09/16/code-in-xhtmlcss/comment-page-1/#comment-137</link>
		<dc:creator>Karol Krizka</dc:creator>
		<pubDate>Mon, 17 Sep 2007 01:35:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.krizka.net/2007/09/16/code-in-xhtmlcss/#comment-137</guid>
		<description>Yeah, this theme was not created by me. I have a list of thing to do to fix it a bit. I&#039;m just a bit too lazy to do it. :P</description>
		<content:encoded><![CDATA[<p>Yeah, this theme was not created by me. I have a list of thing to do to fix it a bit. I&#8217;m just a bit too lazy to do it. <img src='http://www.krizka.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chen</title>
		<link>http://www.krizka.net/2007/09/16/code-in-xhtmlcss/comment-page-1/#comment-136</link>
		<dc:creator>Chen</dc:creator>
		<pubDate>Sun, 16 Sep 2007 23:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.krizka.net/2007/09/16/code-in-xhtmlcss/#comment-136</guid>
		<description>&lt;a href=&quot;http://validator.w3.org/check?verbose=1&amp;uri=http%3A%2F%2Fwww.krizka.net%2F2007%2F09%2F16%2Fcode-in-xhtmlcss%2F&quot; rel=&quot;nofollow&quot;&gt;Seems like you&#039;re having some validation problems yourself!&lt;/a&gt; Shouldn&#039;t be too hard to fix though.</description>
		<content:encoded><![CDATA[<p><a href="http://validator.w3.org/check?verbose=1&amp;uri=http%3A%2F%2Fwww.krizka.net%2F2007%2F09%2F16%2Fcode-in-xhtmlcss%2F" rel="nofollow">Seems like you&#8217;re having some validation problems yourself!</a> Shouldn&#8217;t be too hard to fix though.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.285 seconds -->
