<?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>Candy by James &#187; Hypertext</title>
	<atom:link href="http://james.gameover.com/index.php/category/code/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://james.gameover.com</link>
	<description>A journal by a James</description>
	<lastBuildDate>Fri, 03 Feb 2012 20:55:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Why I use HTML (instead of xHTML)</title>
		<link>http://james.gameover.com/index.php/2006/why-i-use-html-instead-of-xhtml/</link>
		<comments>http://james.gameover.com/index.php/2006/why-i-use-html-instead-of-xhtml/#comments</comments>
		<pubDate>Mon, 11 Sep 2006 20:39:03 +0000</pubDate>
		<dc:creator>James John Malcolm</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Hypertext]]></category>

		<guid isPermaLink="false">http://akaxaka.gameover.com/index.php/2006/why-i-use-html-instead-of-xhtml/</guid>
		<description><![CDATA[Sean of Elementary Group Standards asked me, as part of a CSS Spring Reboot 2006 questionnaire, why I used HTML 4. Was using HTML instead of xHTML a concious choice on my part? Absolutely. While the other people who were questioned managed to keep it nice and concise, I managed to write up a whole [...]]]></description>
			<content:encoded><![CDATA[<p>Sean of <a href="http://www.elementary-group-standards.com">Elementary Group Standards</a> asked me, as part of a CSS Spring Reboot 2006 questionnaire, why I used HTML 4. Was using HTML instead of xHTML a concious choice on my part? Absolutely.</p>
<p>While the other people who were questioned managed to keep it nice and concise, I managed to write up a whole bucket load of words about it. As others asked me why I made sure Bite Size Standards is HTML 4, I’ve decided to post my answer here too.</p>
<p>As <a href="http://www.elementary-group-standards.com/html/why-do-you-use-html-4" class="broken_link">published on Elementary Group Standards</a>:</p>
<blockquote><p>“I’ve used xHTML for 5 years, from 2001 til 2006. My original reason for using it was that it is supposed to be the future. It would have benefits like in-line SVG and MathML. It was presented as TheThingToUse™ with CSS.</p>
<p>There are two things about xHTML which make it a poor choice for (public) sites. Both of them have to do with xHTML’s mime-types. In short, xHTML can be sent with text/html or application/xhtml+xml as the mime-type. On the web xHTML is usually sent as text/html, as Internet Explorer (which has 83+% market share) doesn’t support the other mime-type. Both mime-types are valid for xHTML 1.0, but (supporting) browsers do handle them differently.</p>
<p>It’s the handling of the same code differently where xHTML’s problem lies. When xHTML 1.0 is sent as text/html, it is handled as HTML. This means that it has zero user benefits over HTML 4.01.</p>
<p>When sent as application/xhtml+xml, you could use MathML — but — the browsers will also apply draconian error handling. This way users visiting the site will be punished (by not being able to see the site) for mistakes by the creator (which could be the developer, the CMS, the person updating the text or indeed the user her/himself just writing something). Simple things like a misplaced “<code>&amp;</code>” on a page (instead of “<code>&amp;amp;</code>”) will completely shut off a page from its users.</p>
<p>So not only are there no benefits over HTML 4.01 because you have to send Internet Explorer text/html — you do get user-punishing error handling from other browsers if you decide to send to them the application/xhtml+xml mimetype.</p>
<p>No benefits but increased headaches? Mwa, count me out.</p>
<p>Some people might say ‘but xHTML is the future!’ This may well be, but is of little consequence. The future versions of xHTML (1.1 and 2.0) are not backwards compatible with xHTML 1.0, so writing xHTML now gains you little in the future. Furthermore HTML 5 is coming. Who says that can’t be the future?</p>
<p>My recommendations for writing HTML? Use the doctype ‘HTML 4.01 Strict’ and write your code as xHTML compatible as possible. This means self-closing tags in the body, but not in the head.*</p>
<blockquote><p>*Little known fact: It’s actually in the spec that you’re not allowed to self-close the meta or link tags. Quite silly in practical terms, and I would suggest to the HTML 5 people that they change that<sup class='footnote'><a href='#fn-71-1' id='fnref-71-1'>1</a></sup>.</p></blockquote>
</blockquote>
<p>I hope this answers all the questions people have, but if you have any more (or dare to question my arguments!) don’t hesitate to use the comment form accompanying this journal entry.</p>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-71-1'>And lo and behold <a href="http://wiki.whatwg.org/wiki/FAQ#Should_I_close_empty_elements_with_.2F.3E_or_.3E.3F">they did</a>! In HTML 5 it’s <a href="http://wiki.whatwg.org/wiki/FAQ#Should_I_close_empty_elements_with_.2F.3E_or_.3E.3F">completely up to you whether you self-close tags or not</a>. <span class='footnotereverse'><a href='#fnref-71-1'>↩</a></span></li>
</ol>
</div>
<p><a href="http://james.gameover.com/index.php/2006/why-i-use-html-instead-of-xhtml/" rel="bookmark">Why I use HTML (instead of xHTML)</a> originally appeared on <a href="http://james.gameover.com">Candy by James</a> on 11 September 2006.</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Using tables may cause bodily harm</title>
		<link>http://james.gameover.com/index.php/2006/using-tables-may-cause-bodily-harm/</link>
		<comments>http://james.gameover.com/index.php/2006/using-tables-may-cause-bodily-harm/#comments</comments>
		<pubDate>Tue, 31 Jan 2006 14:00:58 +0000</pubDate>
		<dc:creator>James John Malcolm</dc:creator>
				<category><![CDATA[Hypertext]]></category>

		<guid isPermaLink="false">http://akaxaka.gameover.com/?p=41</guid>
		<description><![CDATA[Go to site. Look at design. Not bad is it? Quite alright. Model’s quite alright too and doesn’t distract from the products too much. Now increase text size. (use ctrl + plus or ctrl + scroll wheel up) Ignoring the fact that most of the text remains at exactly the same size, look what it’s [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.globat.com/million/" class="broken_link">Go to site</a>. Look at design. Not bad is it? Quite alright.  Model’s quite alright too and doesn’t distract from the products too much.</p>
<div class="insertimg" style="float:right;margin:0 0 4px 6px;"><img src="http://akaxaka.gameover.com/img/bodily-harm.gif" alt="Bodily Harm" /></div>
<p>Now increase text size. (use <em>ctrl + plus</em> or <em>ctrl + scroll wheel</em> up) Ignoring the fact that most of the text remains at exactly the same size, look what it’s done to the model!</p>
<p>So beware: using tables may cause bodily harm.</p>
<p><a href="http://james.gameover.com/index.php/2006/using-tables-may-cause-bodily-harm/" rel="bookmark">Using tables may cause bodily harm</a> originally appeared on <a href="http://james.gameover.com">Candy by James</a> on 31 January 2006.</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>On the slagging of buzzwords</title>
		<link>http://james.gameover.com/index.php/2005/buzzword-slagging/</link>
		<comments>http://james.gameover.com/index.php/2005/buzzword-slagging/#comments</comments>
		<pubDate>Tue, 01 Nov 2005 23:06:57 +0000</pubDate>
		<dc:creator>James John Malcolm</dc:creator>
				<category><![CDATA[Buzz]]></category>
		<category><![CDATA[Hypertext]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Worthy]]></category>

		<guid isPermaLink="false">http://akaxaka.gameover.com/?p=13</guid>
		<description><![CDATA[Since the September that never ended (the point where the unwashed masses — us — got on the internet), the web has been rife with buzzwords. New buzzwords came and old buzzwords went, or worse, kept on lingering waiting to be revived (I’m looking at you Web 1.964beta). Amongst all this madness some people, trying [...]]]></description>
			<content:encoded><![CDATA[<p>Since the September that never ended (the point where the unwashed masses — us — got on the internet), the web has been rife with buzzwords. New buzzwords came and old buzzwords went, or worse, kept on lingering waiting to be revived (I’m looking at you Web 1.964beta). Amongst all this madness some people, trying to put some substance into the buzz, have tried to redefine them.</p>
<p>A recent example of this is <a href="http://www.cameronmoll.com/">Cameron Moll’s</a> <a href="http://www.alistapart.com/articles/redesignrealign">recent article on A List Apart</a>. I must note here that redefining wasn’t really the point of the article, but some (read: quite a lot of) people (mis)took it as such. In this article Cameron talks about re-alignment versus redesign of websites, explaining that an incremental approach to designing an existing site is quite a good thing. You can think of it as evolution versus revolution; the former might seem slower, but it does bring a lot more refinement than the latter.</p>
<p>Good advice right? Well I’d say so, but <a href="http://kurafire.net/log/archive/2005/10/30/buzzword-banter">certain</a> <a href="http://hayobethlehem.nl/articles/rant/i-reject-your-buzzword/">people</a> got hung up on the use of re-align, saying it brought a new word with new buzz, thus creating confusion. People, get over it. New ways of using words to express ones ideas better are being created all the time. It’s the way language works. Just saying that restyling vs. redesign already means redesign vs. re-align is ridiculous. Redesign used to be a broad term, being used for little tweaks as well as full-blown new designs of an existing site. However, as time passed, redesign became synonymous with the full-blown new design of an existing site. The <a href="http://www.may1reboot.com/">May 1st Reboot</a> and <a href="http://www.cssreboot.com/">CSS Reboot</a> events have pretty much cemented this into the collective mind of the web (no I’m <strong>not</strong> going to say blogosphere..yuk!). Ironically, this slagging of re-align only increases it’s exposure as a buzzword so I really feel they’re shooting themselves in the foot. Others have different reasons for <a href="http://annevankesteren.nl/2005/10/buzzing">calling it harmful</a>.</p>
<p>That same Anne (who I had the pleasure of meeting at the last Happy Clog meeting) mentioned in the <a href="http://annevankesteren.nl/2005/10/rise-of-html">a former post </a>that xHTML has quite a number of downsides. As these include forward and backwards compatibility, they’re quite hefty. The upsides however seem to be zilch at present (excepting, maybe, search engine optimisation). HTML, on the other hand, seems to be getting a proper spec, written with the web in mind. I myself have half a mind to change over to HTML 5 once the spec’s finished. Note that this is simply a reconsidered position and  has nothing to do with <a href="http://hayobethlehem.nl/articles/rant/i-reject-your-buzzword/">inflammatory</a> <a href="http://kurafire.net/log/archive/2005/10/30/buzzword-banter">dead horses</a>.</p>
<p>Moving on to the curious post on SimpleBits about using ‘CSS patch’ instead of ‘CSS hack’ to get rid of the negative connotation that’s associated with the term ‘hack’ (even though it has noble beginnings, one can’t deny that due to server crackers being known hackers, hack has a negative meaning now). Thus it’s handy to use another term when you’re <a href="http://simplebits.com/notebook/2005/10/26/patches/">explaining your hacks to Pointy Haired Bosses</a>. This doesn’t mean that CSS hacks should be endorsed or encouraged, in my eyes it’s still a last resort.</p>
<p>So do I disagree with everything in those twin-posts? Nah, Web 2.0 is just as meaningless as three (or was it four?) years ago. After seeing <a href="http://www.identity20.com/media/OSCON2005/" class="broken_link">the OSCON keynote</a> by Dick Hardt on Identity 2.0 I have some hope that server-side client-focussed (i.e. stuff requires nothing extra of the user but does make life easier for them) innovations like Identity 2.0 seems to be get as much attention as the client-side stuff (like remote JavaScript).</p>
<p>That’s another thing. JavaScript has become cool, nay, acceptable again! After the nightmare that was DHTML, we’ve now got a footballing cleansing acronym for ‘cool JavaScript stuff’ called <a href="http://en.wikipedia.org/wiki/AJAX">AJAX</a>. (Thanks Adaptive Path!) Even though they saw it as ‘a new approach to web applications’ it seems that everything connected to JavaScript has the tendency to over hype beyond belief. Compared to DHTML (Dynamic HTML) AJAX does have one saving grace. It provides a method of shoving more heavy lifting to the server-side where, in my mind, it belongs (certainly if the mobile web ever takes off).</p>
<p>So are there any buzzwords worth slagging hard? <a href="http://maddox.xmission.com">Absolutely</a>.</p>
<p><a href="http://james.gameover.com/index.php/2005/buzzword-slagging/" rel="bookmark">On the slagging of buzzwords</a> originally appeared on <a href="http://james.gameover.com">Candy by James</a> on 2 November 2005.</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</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 (Requested URI is rejected)

Served from: james.gameover.com @ 2012-02-08 22:47:28 -->
