<?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>Whimsical.Nu &#187; html</title>
	<atom:link href="http://whimsical.nu/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://whimsical.nu</link>
	<description>A whimsical blog by a whimsical girl with five different psyches: girl, geek, reader, writer, and gamer</description>
	<lastBuildDate>Fri, 03 Feb 2012 08:02:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Resolution week: a geeky thing for 2011</title>
		<link>http://whimsical.nu/2011/01/11/resolution-week-a-geeky-thing-for-2011/</link>
		<comments>http://whimsical.nu/2011/01/11/resolution-week-a-geeky-thing-for-2011/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 03:00:00 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Geek chick]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[resolution]]></category>

		<guid isPermaLink="false">http://whimsical.nu/?p=11862</guid>
		<description><![CDATA[I&#8217;ve realized only recently that everything I&#8217;m using right now to create websites and in my day-to-day work, I&#8217;ve learnt on my own, from scratch. I learned HTML in 1998, by viewing source code and trying to replicate what I&#8217;ve seen. I built on that knowledge by making my own websites: about myself, about books and series that I loved, communities like the long-forgotten web rings and those cute little adoptable graphics. (Which brings me to another point: I learned to make graphics and some pixel art from those days, too.) I learned CSS shortly after, as I made websites,...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sxc.hu/photo/642559"><img class="alignright size-full wp-image-12236" title="Studying ahead" src="http://whimsical.nu/wp-content/uploads/2011/01/studying_ahead.jpg" alt="Studying ahead" width="300" height="199" /></a>I&#8217;ve realized only recently that everything I&#8217;m using right now to create websites and in my day-to-day work, I&#8217;ve learnt on my own, from scratch.</p>
<p><em>I learned <acronym title="HyperText Markup Language">HTML</acronym> in 1998</em>, by viewing source code and trying to replicate what I&#8217;ve seen. I built on that knowledge by making my own websites: about myself, about books and series that I loved, communities like the long-forgotten web rings and those cute little adoptable graphics. (Which brings me to another point: I learned to make graphics and some pixel art from those days, too.)</p>
<p><em>I learned <acronym title="Cascading Style Sheets">CSS</acronym> shortly after</em>, as I made websites, starting from the shiny that is absolute positioning and continuing on to learn about fluid layouts, floating, the box model, etc. as I went along. My shrines and cutesy sites made way to personal journals and blogs.</p>
<p><em>I learned <acronym title="Pre-Hypertext Processing">PHP</acronym> on my own in 2002 or 2003</em>, after I started liking Python for web apps but found it difficult to find an affordable web host with Python&#8211;<acronym title="Pre-Hypertext Processing">PHP</acronym> was much more available. I used it for small websites&#8211;directories, cliques, and making my own little script to manage fanlistings, which were becoming a big part of what I did online. (I wish I could say I learned <acronym title="Structured Query Language">SQL</acronym> on my own, but not really&#8211;I took up database courses in college.)</p>
<p><em>JavaScript, ah JavaScript. I learned bits and pieces</em>, but generally disliked it, until I <em>needed</em> to learn for work; I think a framework certainly makes it easier to wrap your head around, and while JavaScript won&#8217;t be in my list of top languages, I do find that I enjoy working with it nowadays&#8211;it&#8217;s an ongoing process, and I learn more and more as I continue to use it in what I build.</p>
<p>I think it speaks a lot of how learning for yourself, and using it as you learn, is one of the best ways to learn. And this year, <em>I think it&#8217;s high time I learn something new again, and use it in something I build while I learn.</em></p>
<p>I haven&#8217;t decided what the new tool will be&#8211;a new framework? a new language?&#8211;nor the product, for that matter. But I do know that making time for pet projects opened me up to much more than just the enjoyment of creating and building for myself, that it&#8217;s something I want to do for myself this year.</p>
<p><strong>So in 2011, I&#8217;ll learn and create something new.</strong></p>]]></content:encoded>
			<wfw:commentRss>http://whimsical.nu/2011/01/11/resolution-week-a-geeky-thing-for-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FF: Minimizing HTTP Requests</title>
		<link>http://whimsical.nu/2008/09/05/ff-minimizing-http-requests/</link>
		<comments>http://whimsical.nu/2008/09/05/ff-minimizing-http-requests/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 04:00:10 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Frontend Friday]]></category>
		<category><![CDATA[Geek chick]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css sprites]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[http requests]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[website optimization]]></category>
		<category><![CDATA[website performance]]></category>

		<guid isPermaLink="false">http://scripts.indisguise.org/?p=273</guid>
		<description><![CDATA[As I mentioned last week, I&#8217;ll be talking about a few of my favorite techniques for making websites load faster&#8211;the rules and practices that I find interesting and intriguing as a web developer obsessed with a dash of challenge. ;) One of the best ways to speed up website performance is by reducing the number of HTTP requests the website makes &#8212; it&#8217;s the first rule in YDN&#8217;s Best Practices for Speeding up your Web Site and YSlow, which is arranged according to what technique would have the most impact on your page&#8217;s performance. This rule can be quite tedious...]]></description>
			<content:encoded><![CDATA[<p>As <a href="http://scripts.indisguise.org/2008/08/29/ff-website-optimization/">I mentioned last week</a>, I&#8217;ll be talking about a few of my favorite techniques for making websites load faster&#8211;the rules and practices that I find interesting and intriguing as a web developer obsessed with a dash of challenge. ;)</p>
<p><strong>One of the best ways to speed up website performance is by reducing the number of <acronym title="HyperText Transfer Protocol">HTTP</acronym> requests the website makes</strong> &#8212; it&#8217;s the first rule in <a href="http://developer.yahoo.com/performance/rules.html">YDN&#8217;s Best Practices for Speeding up your Web Site</a> and <a href="http://developer.yahoo.com/yslow/">YSlow</a>, which is arranged according to what technique would have the most impact on your page&#8217;s performance. This rule can be quite tedious to do when optimizing a current website/layout, so the best case, really, is to start a project with this in mind.</p>
<p>The article explains it well, so I&#8217;ll just quote them (italics mine):</p>
<blockquote><p>80% of the end-user response time is spent on the front-end. <em>Most of this time is tied up in downloading all the components in the page</em>: images, stylesheets, scripts, Flash, etc. Reducing the number of components in turn reduces the number of <acronym title="HyperText Transfer Protocol">HTTP</acronym> requests required to render the page. This is the key to faster pages.</p></blockquote>
<p>The use of <a href="http://alistapart.com/articles/sprites"><acronym title="Cascading Style Sheets">CSS</acronym> sprites</a> has been around for quite a while now, and is the best way to reduce the number of <acronym title="HyperText Transfer Protocol">HTTP</acronym> requests to your server. A <acronym title="Cascading Style Sheets">CSS</acronym> sprite is basically multiple images combined into one single, larger image, which is then positioned into your <acronym title="HyperText Markup Language">HTML</acronym> elements via <acronym title="Cascading Style Sheets">CSS</acronym>.</p>
<p>Can you imagine the conversation between the browser and the server for either case?</p>
<blockquote><p><em>Browser:</em> Give me the background for the Index menu item.<br />
<em>Server:</em> Here you go, it will take around 1 second.<br />
<em>Browser:</em> While I&#8217;m getting that, can you also get me the background for the Blog menu item?<br />
<em>Server:</em> Here it is, another second for that.<br />
<em>Browser:</em> And let&#8217;s not forget the background for the About menu item, too.<br />
<em>Server:</em> Of course, here you go, you&#8217;ll get it in a second.<br />
&#8230;</p></blockquote>
<p>As opposed to when you use a <acronym title="Cascading Style Sheets">CSS</acronym> sprite for your menu items:</p>
<blockquote><p><em>Browser:</em> Give me the background image for the navigation menu items.<br />
<em>Server:</em> Here you go, it will take a bit less than 2 seconds.</p></blockquote>
<p>Short and sweet.</p>
<p>Note, however, that <em>if your visitors are predominantly dialup users, this might not be a good rule for you to follow</em> &#8212; mostly because you really can&#8217;t stuff any more data into that pipe than that pipe can handle. It <em>will</em> take longer for them to download the image, which will affect their perception of the website, as opposed to an image that gets downloaded faster and shows up on their browser faster. Remember those old-school rules about slicing header images? That&#8217;s basically rooted in that scenario: dialup can only download so much, so give them a couple <em>parts</em> of the header to download and see immediately. What’s best for your website depends on your target visitors.</p>
<p>There are a couple of <acronym title="Cascading Style Sheets">CSS</acronym> sprite tutorials and generators around:</p>
<ul>
<li><a href="http://www.csssprites.com/"><acronym title="Cascading Style Sheets">CSS</acronym> Sprites Generator</a> &#8211; a simple generator, giving the sprites in <acronym title="Portable Network Graphics">PNG</acronym> and <acronym title="Graphics Interchange Format">GIF</acronym> and giving background positions for each image</li>
<li><a href="http://spritegen.website-performance.org/">Website Performance&#8217;s <acronym title="Cascading Style Sheets">CSS</acronym> Sprite Generator</a> &#8211; contains a lot more extra configuration options for sprite generation if you want finer control, allows you to choose what image format to generate</li>
<li><a href="http://www.alistapart.com/articles/sprites">A List Apart&#8217;s <em><acronym title="Cascading Style Sheets">CSS</acronym> Sprites: Image Slicing&#8217;s Kiss of Death</em> article</a></li>
<li><a href="http://css-tricks.com/css-sprites-what-they-are-why-theyre-cool-and-how-to-use-them/"><acronym title="Cascading Style Sheets">CSS</acronym> Sprites: What They Are, Why They&#8217;re Cool, and How To Use Them</a></li>
<li><a href="http://stylemeltdown.com/2007/10/22/image-sprite-navigation-with-css/">Image Sprite Navigation With <acronym title="Cascading Style Sheets">CSS</acronym></a></li>
</ul>
<p>&#8230;to name a few. If you&#8217;re just getting started with spriting, I&#8217;d suggest you create your sprite manually in your preferred image editing application before trying one of the generators and work on something simple like navigation or lists with icons for the first few times. This should give you a better grasp of what happens with a sprite.</p>
<p>Something to keep in mind: <em>sprites will add complexity to maintaining your design.</em> Adding another image to an existing sprite, updating your <acronym title="Cascading Style Sheets">CSS</acronym> code to reflect that (and possibly impacting current <acronym title="Cascading Style Sheets">CSS</acronym> rules on other images using that same sprite) is slightly more time-consuming than just uploading a new image and a new <acronym title="Cascading Style Sheets">CSS</acronym> rule to use that single image. And of course, the more images on a single sprite, the more difficult it is to keep that image and the accompanying <acronym title="Cascading Style Sheets">CSS</acronym> rules maintainable. One of the ways to combat this is to organize sprites according to use. As opposed to one &uuml;ber-sprite containing everything and the dust on the coffee table, a sprite for navigation and a sprite for list items separately is easier to maintain and organize.</p>
<p>Good luck with minimizing your <acronym title="HyperText Transfer Protocol">HTTP</acronym> requests!</p>]]></content:encoded>
			<wfw:commentRss>http://whimsical.nu/2008/09/05/ff-minimizing-http-requests/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Frontend Friday: Watch out for Divitis</title>
		<link>http://whimsical.nu/2008/07/04/frontend-friday-watch-out-for-divitis/</link>
		<comments>http://whimsical.nu/2008/07/04/frontend-friday-watch-out-for-divitis/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 00:00:37 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Frontend Friday]]></category>
		<category><![CDATA[Geek chick]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[semantics]]></category>

		<guid isPermaLink="false">http://scripts.indisguise.org/?p=201</guid>
		<description><![CDATA[Back when I first started using CSS, my favorite tag was undoubtedly the &#60;div&#62;. It was so versatile, and I did everything I could with that tag. It introduced me to absolute positioning and the CSS in general, and I&#8217;m forever grateful, but it also brought me away from the basics: HTML as a markup language. It&#8217;s also known as divitis: that is, having one too many &#60;div&#62; tags. The result was code bloat, and once I started weaning away from this practice, I had hundreds of files to update, as they all looked like: &#60;div class="content"&#62; &#60;div class="title"&#62;Some heading!&#60;/div&#62;...]]></description>
			<content:encoded><![CDATA[<p>Back when I first started using <acronym title="Cascading Style Sheets">CSS</acronym>, my favorite tag was undoubtedly the <code>&lt;div&gt;</code>. It was so versatile, and I did everything I could with that tag. It introduced me to absolute positioning and the <acronym title="Cascading Style Sheets">CSS</acronym> in general, and I&#8217;m forever grateful, but it also brought me away from the basics: <acronym title="HyperText Markup Language">HTML</acronym> as a markup language. It&#8217;s also known as <em>divitis</em>: that is, having one too many <code>&lt;div&gt;</code> tags.</p>
<p>The result was code bloat, and once I started weaning away from this practice, I had hundreds of files to update, as they all looked like:</p>
<pre><code>&lt;div class="content"&gt;
&lt;div class="title"&gt;Some heading!&lt;/div&gt;
&lt;div class="date"&gt;July 4, 2008&lt;/div&gt;
&lt;p&gt;This is some of the content of the page. Yay!&lt;/p&gt;
&lt;div class="subtitle"&gt;Some subheading&lt;/div&gt;
&lt;/div&gt;</code></pre>
<p>(I&#8217;m sure if you look hard enough you&#8217;ll find a couple of my older sites still sporting this sort of markup.)</p>
<p>Movements and events like <a href="http://naked.dustindiaz.com/">the annual <acronym title="Cascading Style Sheets">CSS</acronym> Naked Day</a> woke me (and hopefully a few others) to the sad truth that as web developers and designers, we can be so <em>obsessive</em> about needing every single pixel in place, but completely forget about keeping the house clean. The impact may be minimal at the onset (i.e., &#8220;hey, everyone sees the pretty decors after all!&#8221;) but just like your house after a rush cleaning because people are coming over tonight, you have to deal with guests stumbling into hidden mess, things not in the right place, and a painful cleanup job afterward.</p>
<p>(Of course, there&#8217;s the other end of the spectrum where holy wars are raged between the use of a <code>&lt;ul&gt;</code> and a <code>&lt;table&gt;</code> tag, which is just as bad, <acronym title="In my opinion">IMO</acronym>.)</p>
<p>There are three things I do when working on a website to help me keep as close to &#8220;clean&#8221; as possible:</p>
<ol>
<li> <em>Keep markup in the back of your mind when creating your design.</em> The best example of this is creating a navigation menu. Can it be done in lists? What sort of arcane <acronym title="Cascading Style Sheets">CSS</acronym>-fu is needed to make it work like so? </li>
<li> <em>Start with a bare <acronym title="HyperText Markup Language">HTML</acronym> page.</em> I&#8217;m doing this right now for a couple of projects. I have wireframes (structures) where I&#8217;ve laid out roughly where things are going, but nothing else. No colors, no images, no JavaScript, just plain ol&#8217; markup-py goodness. </li>
<li> <em>Once done, remove stylesheets and take a look.</em> It&#8217;s easy for me to lose track of things when I&#8217;m on a roll, so this one personally has made me cringe a lot of times. Temporarily removing all styles from my work is a good way to see if it&#8217;s still readable and navigable even without all my pretty styles, and that it&#8217;s as close to how I designed it as possible. (This pretty much destroys all unordered lists masquerading as tables&#8230; so beware.) </li>
</ol>
<p>Remember: there are <a href="http://www.w3.org/TR/html401/index/elements.html">91 <acronym title="HyperText Markup Language">HTML</acronym> tags</a> available, one of which might serve the need and communicate your intent better. But don&#8217;t force it: sometimes saying nothing at all is better than being misunderstood.</p>]]></content:encoded>
			<wfw:commentRss>http://whimsical.nu/2008/07/04/frontend-friday-watch-out-for-divitis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blockquotes, pull quotes, and quotes</title>
		<link>http://whimsical.nu/2008/07/01/blockquotes-pull-quotes-and-quotes/</link>
		<comments>http://whimsical.nu/2008/07/01/blockquotes-pull-quotes-and-quotes/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 15:47:17 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Geek chick]]></category>
		<category><![CDATA[blockquotes]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://scripts.indisguise.org/?p=203</guid>
		<description><![CDATA[Smashing Magazine&#8217;s Block Quotes and Pull Quotes article is interesting, and something everyone should skim through, at least. According to HTML specifications, there are three elements which are supposed to semantically mark up quotations, namely &#60;blockquote&#62;, &#60;q&#62; and &#60;cite&#62;. Although all intended to markup quotes, they should be used in different contexts. So when should you use what? I&#8217;ve only seen &#60;cite&#62; used fairly recently, while at work in Y!, which sadly doesn&#8217;t say a lot about myself and my friendship with various markup tags available. I&#8217;ve been using it a bit more since. The best thing I&#8217;ve learned from...]]></description>
			<content:encoded><![CDATA[<p>Smashing Magazine&#8217;s <a href="http://www.smashingmagazine.com/2008/06/12/block-quotes-and-pull-quotes-examples-and-good-practices/">Block Quotes and Pull Quotes</a> article is interesting, and something everyone should skim through, at least.</p>
<blockquote><p>According to <acronym title="HyperText Markup Language">HTML</acronym> specifications, there are three elements which are supposed to semantically mark up quotations, namely <code>&lt;blockquote&gt;</code>, <code>&lt;q&gt;</code> and  <code>&lt;cite&gt;</code>. Although all intended to markup quotes, they should be used in different contexts. So when should you use what?</p></blockquote>
<p>I&#8217;ve only seen <code>&lt;cite&gt;</code> used fairly recently, while at work in Y!, which sadly doesn&#8217;t say a lot about myself and my friendship with various markup tags available. I&#8217;ve been using it a bit more since. The best thing I&#8217;ve learned from the article, however, is this:</p>
<blockquote><p>Although <code>&lt;q&gt;</code> is almost never used, it has some useful properties. For instance, you can specify the appearance of quotes within the <code>&lt;q&gt;</code>-element via <acronym title="Cascading Style Sheets">CSS</acronym>. That&#8217;s reasonable as different languages use different quotation marks for the same purpose. For instance, these ones:</p>
<pre><code>Q {}
Q { quotes: '»' '«'   }
Q { quotes: '„' '“' }</code></pre>
<p>Modern browsers support this way of styling. Of course, Internet Explorer (even in its 8th version) doesn&#8217;t support it although it knows <code>&lt;q&gt;</code> pretty well&#8230;</p>
</blockquote>
<p>The article also shows a few bad and good practices for usage of block and pull quotes. I&#8217;ll admit I&#8217;ve fallen victim to a few of those questionable practices, but it&#8217;s never too late to improve things. ;)</p>]]></content:encoded>
			<wfw:commentRss>http://whimsical.nu/2008/07/01/blockquotes-pull-quotes-and-quotes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Frontend Friday: Tools of the trade</title>
		<link>http://whimsical.nu/2008/06/27/frontend-friday-tools-of-the-trade/</link>
		<comments>http://whimsical.nu/2008/06/27/frontend-friday-tools-of-the-trade/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 00:00:56 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Frontend Friday]]></category>
		<category><![CDATA[Geek chick]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[fiddler]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[yslow]]></category>

		<guid isPermaLink="false">http://scripts.indisguise.org/?p=184</guid>
		<description><![CDATA[I&#8217;m finally pushing through with an idea I&#8217;ve had for a while: Frontend Friday! Every Friday, I will be posting an entry about frontend development work, which includes topics on HTML, CSS, JavaScript, and basically anything related to the implementation of designs and UI on the web. These may be simple solutions you might know about, or weird experiments and topics that concern those who code layouts, whether done as a hobby or as part of work. For the first Frontend Friday post, I&#8217;ve decided to write about a topic that&#8217;s rather central for all web developers: the tools that...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m finally pushing through with an idea I&#8217;ve had for a while: <strong>Frontend Friday</strong>! <em>Every Friday, I will be posting an entry about frontend development work</em>, which includes topics on <acronym title="HyperText Markup Language">HTML</acronym>, <acronym title="Cascading Style Sheets">CSS</acronym>, JavaScript, and basically anything related to the implementation of designs and UI on the web. These may be simple solutions you might know about, or weird experiments and topics that concern those who code layouts, whether done as a hobby or as part of work.</p>
<p>For the first Frontend Friday post, <strong>I&#8217;ve decided to write about a topic that&#8217;s rather central for all web developers: the tools that we use.</strong> We all use different programs and extensions and scripts to help us code up a nice layout for our websites. I wanted to share some of mine, and I hope you find them useful.</p>
<p>My top 7 tools:</p>
<ol>
<li>
<h4>Aptana Studio</h4>
<p><a href='http://whimsical.nu/wp-content/uploads/2008/06/aptana1.gif'><img src="http://whimsical.nu/wp-content/uploads/2008/06/aptana1.gif" alt="" title="Aptana Studio" width="150" height="150" class="alignleft size-full wp-image-185" align="left" /></a> I&#8217;ve been using <a href="http://www.aptana.com/studio">Aptana</a> well over a year now, and in fact <a href="http://scripts.indisguise.org/2007/08/30/aptana-the-web-ide/">I wrote a review</a> about the web IDE before. Because it stems from Eclipse, and Java, it suffers a bit of lag especially when working with large files; I wouldn&#8217;t recommend using it for that quick 30-second style fix on your website.</p>
<p>But working on websites that contains quite a few bells and whistles, I find Aptana to be quite helpful. The Project pane stores all ongoing projects, the Validation tab is quick to look up typos which result in syntax errors, the Outline pane makes jumping between functions and <acronym title="HyperText Markup Language">HTML</acronym> nodes a breeze, and Code Suggest is always great to have around. (You should take a look at <a href="http://scripts.indisguise.org/2007/08/30/aptana-the-web-ide/">my review</a> if you want to know more; while that was for the beta version, it&#8217;s still relevant.)</p>
</li>
<li>
<h4>Firefox</h4>
<p><a href='http://whimsical.nu/wp-content/uploads/2008/06/firefox1.png'><img src="http://whimsical.nu/wp-content/uploads/2008/06/firefox1.png" alt="" title="Firefox" width="150" height="150" class="alignleft size-full wp-image-186" align="left" /></a> Yes, <a href="http://getfirefox.com/">Firefox</a> just had to be there. I will admit that as of late I&#8217;d been very frustrated with Firefox&#8217;s memory-hogging practices and annoying lag, and if it weren&#8217;t for Firefox being insanely great for web development, I might have dropped it for the faster Safari. Firefox is a great standards-compliant browser, plus it provides an avenue for a plethora of web-developer-friendly tools, some of which are&#8230;</p>
</li>
<li>
<h4>Web Developer Toolbar</h4>
<p><a href='http://whimsical.nu/wp-content/uploads/2008/06/webdevtoolbar1.gif'><img src="http://whimsical.nu/wp-content/uploads/2008/06/webdevtoolbar1.gif" alt="" title="Web Developer Toolbar" width="150" height="150" class="alignleft size-full wp-image-187" align="left" /></a>Chris Pederick&#8217;s <a href="http://chrispederick.com/work/web-developer/">Web Developer Toolbar</a> is impossible to live without. It&#8217;s lightweight and contains a lot of helpful tools: disabling cache to make sure you see your <acronym title="Cascading Style Sheets">CSS</acronym> updates, cookie manipulation, <acronym title="Cascading Style Sheets">CSS</acronym> lookups, markup and style tools for debugging, browser resizer, viewing generated source (for all those whizzy <acronym title="JavaScript">JS</acronym> things), and more. If you&#8217;re a developer and you don&#8217;t have this on Firefox yet&#8230; <em>what cave have you been living in?!</em></p>
</li>
<li>
<h4>Firebug</h4>
<p><a href='http://whimsical.nu/wp-content/uploads/2008/06/firebug1.gif'><img src="http://whimsical.nu/wp-content/uploads/2008/06/firebug1.gif" alt="" title="Firebug" width="150" height="150" class="alignleft size-full wp-image-188" align="left" /></a>Actually, <a href="http://getfirebug.com/">Firebug</a> vied with the Web Developer Toolbar for the &#8220;must have&#8221; spot, with the toolbar winning simply because it&#8217;s lighter and more mainstream: even if you&#8217;re a hobbyist making personal websites during your free time, the toolbar is useful. Firebug is also a must-have, but mainly for more heavy duty stuff, and especially for debugging purposes: completely clueless what styles are messing things up on a certain element? Lost as to what is happening to your variables when running <acronym title="JavaScript">JS</acronym>? Firebug makes digging into code easy. I can&#8217;t count the number of times Firebug has saved me hours of trawling through <acronym title="Cascading Style Sheets">CSS</acronym> or numerous <code>alert()</code> calls.</p>
</li>
<li>
<h4>Multiple Internet Explorer installations</h4>
<p><a href='http://whimsical.nu/wp-content/uploads/2008/06/ie1.png'><img src="http://whimsical.nu/wp-content/uploads/2008/06/ie1.png" alt="" title="Internet Explorer 7" width="150" height="150" class="alignleft size-full wp-image-190" align="left" /></a>There are numerous multiple <acronym title="Internet Explorer">IE</acronym> tools out there, but the one I personally use on my Windows test machine is <a href="http://tredosoft.com/Multiple_IE">TredoSoft&#8217;s Multiple <acronym title="Internet Explorer">IE</acronym></a>. I really only test for <acronym title="Internet Explorer 6">IE6</acronym> and IE7, though (I should install IE8 soon, too&#8230;). It&#8217;s a bit of a pain, but that&#8217;s the way life rolls. The <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&#038;displaylang=en"><acronym title="Internet Explorer">IE</acronym> Developer Toolbar</a> is also a must-have for <acronym title="Internet Explorer">IE</acronym>-proofing your website. I hope they update the toolbar to include a debugger soon.</p>
<p>Naturally, you will also need other browsers installed, according to what you wish to test with. I test according to <a href="http://developer.yahoo.com/yui/articles/gbs/">Yahoo!&#8217;s list of A-grade browsers</a>, even for my personal work (well, in varying degrees, as I don&#8217;t have multiple images of Windows sitting in my personal machine, for instance).</p>
</li>
<li>
<h4>YSlow</h4>
<p><a href='http://whimsical.nu/wp-content/uploads/2008/06/yslow1.gif'><img src="http://whimsical.nu/wp-content/uploads/2008/06/yslow1.gif" alt="" title="YSlow" width="150" height="150" class="alignleft size-full wp-image-189" align="left" /></a><a href="http://developer.yahoo.com/yslow/">YSlow</a> analyzes my pages&#8217; load times. I typically only use this nearer to the end of development, to check if I need to combine more images into sprites, chunk together <acronym title="Cascading Style Sheets">CSS</acronym> and <acronym title="JavaScript">JS</acronym>, etc. It&#8217;s definitely a good guideline checker for webdev best practices, which may or may not be critical for you, depending on what you are working on.</p>
<p>YSlow takes into consideration <a href="http://developer.yahoo.com/performance/index.html#rules">Yahoo!&#8217;s rules for high performance websites</a>, which every web geek into making websites should read through at least once.</p>
</li>
<li>
<h4>Fiddler and/or Tamper Data</h4>
<p><a href='http://whimsical.nu/wp-content/uploads/2008/06/fiddler1.png'><img src="http://whimsical.nu/wp-content/uploads/2008/06/fiddler1.png" alt="" title="Fiddler" width="150" height="150" class="alignleft size-full wp-image-191" align="left" /></a>These two are mostly useful for deeper digging into the communication between your website and the server, and may or may not be applicable for the type of work you do. I find it highly useful for verifying form submissions&#8217; raw data and <acronym title="Asynchronous JavaScript and XML">AJAX</acronym> requests &#8212; you can stop the data transmission, fudge up the content, and release it, which helps you trap bugs and issues.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/966">Tamper Data</a> is a nifty Firefox extension for this purpose, and <a href="http://www.fiddlertool.com/fiddler/">Fiddler</a> is an <acronym title="HyperText Transfer Protocol">HTTP</acronym> debugger tool, much more robust than Tamper Data. Unfortunately, Fiddler is not available on Mac OSX &#8212; I&#8217;ve been looking for a good alternative for a while now (<a href="http://www.parosproxy.org/index.shtml">Paros</a> looks like an interesting alternative, but for some reason I can&#8217;t get it to start monitoring traffic).</p>
</li>
</ol>
<p>So those are the top 7 tools I use for working with code. What are yours?</p>]]></content:encoded>
			<wfw:commentRss>http://whimsical.nu/2008/06/27/frontend-friday-tools-of-the-trade/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Definition of a table-less layout</title>
		<link>http://whimsical.nu/2008/05/31/definition-of-a-table-less-layout/</link>
		<comments>http://whimsical.nu/2008/05/31/definition-of-a-table-less-layout/#comments</comments>
		<pubDate>Sat, 31 May 2008 08:18:51 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Geek chick]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[layouts]]></category>
		<category><![CDATA[lists]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[semantics]]></category>
		<category><![CDATA[table-less layouts]]></category>
		<category><![CDATA[tables]]></category>

		<guid isPermaLink="false">http://scripts.indisguise.org/?p=182</guid>
		<description><![CDATA[What does &#8220;table-less layout&#8221; mean to you? Recently I&#8217;ve come across a number of discussions about what constitutes a table-less layout, and most developers&#8217; definitions can be pooled into two differing definitions of this term: A table-less layout used on a website means that no tables are used on the website, none at all, none whatsoever. For all content, use paragraphs, divs, ordered/unordered lists, spans, and the like. Tables are for newbiez. A table-less layout used on a website means that tables are not used to lay out graphical elements and content on the webpage, i.e., the header, footer, content,...]]></description>
			<content:encoded><![CDATA[<p><strong>What does &#8220;table-less layout&#8221; mean to you?</strong></p>
<p>Recently I&#8217;ve come across a number of discussions about what constitutes a table-less layout, and most developers&#8217; definitions can be pooled into two differing definitions of this term:</p>
<ol>
<li> <em>A table-less layout used on a website means that no tables are used on the website, none at all, none whatsoever.</em> For all content, use paragraphs, divs, ordered/unordered lists, spans, and the like. Tables are for newbiez. </li>
<li> <em>A table-less layout used on a website means that tables are not used to lay out graphical elements and content on the webpage,</em> i.e., the header, footer, content, sidebar, etc., but uses tables for tabular data when it&#8217;s appropriate. </li>
</ol>
<p>Personally, I believe in the second definition of a table-less layout, and I was actually amazed to learn how many people actually believe in the first definition. At the risk of a semantics war, I feel like I have to post about this. It&#8217;s probably due to all the <acronym title="HyperText Markup Language">HTML</acronym>/<acronym title="Cascading Style Sheets">CSS</acronym>/<acronym title="JavaScript">JS</acronym>/etc talk I&#8217;m exposed to for most of the day while at work; I&#8217;m exposed to debates about semantics, accessibility, etc. with some regularity.</p>
<p><em><acronym title="HyperText Markup Language">HTML</acronym> is a markup language: Hypertext Markup Language. Any markup language (<acronym title="HyperText Markup Language">HTML</acronym>, <acronym title="eXtensible HyperText Markup Language">XHTML</acronym>, <acronym title="eXtensible Markup Language">XML</acronym>, YAML, etc) is only as good as the structures and tags one uses to markup their data.</em> Using appropriate markup in order to provide inherent meaning to data is important. See for example:</p>
<pre><code>&lt;h1&gt;This is a page heading&lt;/h1&gt;
&lt;p&gt;This is some paragraph text. If I am a computer, I wouldn't understand the meaning of these words, but the P tag I, as the developer, used to encapsulate this text tells the computer that this is a paragraph. Now I want to quote someone.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Now I am quoting someone, and the computer knows it's a quote because this is inside appropriate tags. <em>This is me trying to emphasize something.</em>. And now my quote is done so I need to cite my source.&lt;/p&gt;&lt;cite&gt;This is the author of my quote&lt;/cite&gt;&lt;/blockquote&gt;
&lt;p&gt;This is another paragraph, and this time I need to outline a step-by-step process, like so:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt; Step one: do this. &lt;/li&gt;
&lt;li&gt; Step two: do that. &lt;/li&gt;
&lt;li&gt; Step three: do more things. &lt;?li&gt;
&lt;/ol&gt;
&lt;h2&gt;This is another heading, but of lesser importance than h1&lt;/h2&gt;
&lt;p&gt;And more paragraphs, but for now <strong>this is a strongly-emphasized chunk of text.</strong>&lt;/p&gt;</code></pre>
<p>Using appropriate, semantic markup is important for us as developers, because we are the ones who develop the web. We are the ones who program the content that is the meat of the web. If we use meaningful markup, it will be easier and easier for computers to index and determine our content, and to provide it to others who need that content.</p>
<p>That said, semantics is hazy, and data can be different in meaning for each developer, for each programmer. Sometimes it does make sense to use lists over tables, when it&#8217;s more appropriate. But when you&#8217;re talking about correlated data, data you see on charts, feature and price matrices, and the like, it&#8217;s usually more appropriate to use a table, because by definition, it is tabular data we are representing.</p>
<p>For example, a price list. It&#8217;s a list, right? So here we&#8217;re using a list:</p>
<pre><code>&lt;h1&gt;Price list&lt;/h1&gt;
&lt;ul&gt;
   &lt;li&gt;
      &lt;ul class="header"&gt;
         &lt;li&gt; Product name &lt;/li&gt;
         &lt;li&gt; Colors available &lt;/li&gt;
         &lt;li&gt; Stock availability &lt;/li&gt;
         &lt;li&gt; Price &lt;/li&gt;
      &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt;
      &lt;ul&gt;
         &lt;li class="header"&gt; Product one &lt;/li&gt;
         &lt;li&gt; Blue and green &lt;/li&gt;
         &lt;li&gt; In stock &lt;/li&gt;
         &lt;li&gt; $10.00 &lt;/li&gt;
      &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt;
      &lt;ul&gt;
         &lt;li class="header"&gt; Product two &lt;/li&gt;
         &lt;li&gt; Blue and green &lt;/li&gt;
         &lt;li&gt; In stock &lt;/li&gt;
         &lt;li&gt; $15.00 &lt;/li&gt;
      &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt;
      &lt;ul&gt;
         &lt;li class="header"&gt; Product three &lt;/li&gt;
         &lt;li&gt; Blue and green &lt;/li&gt;
         &lt;li&gt; Out of stock &lt;/li&gt;
         &lt;li&gt; $20.00 &lt;/li&gt;
      &lt;/ul&gt;
   &lt;/li&gt;
&lt;/ul&gt;</code></pre>
<p>And here is the same data marked up in a table:</p>
<pre><code>&lt;h1&gt;Price list&lt;/h1&gt;
&lt;table&gt;
   &lt;tr&gt;
      &lt;th&gt; Product name &lt;/th&gt;
      &lt;th&gt; Colors available &lt;/th&gt;
      &lt;th&gt; Stock availability &lt;/th&gt;
      &lt;th&gt; Price &lt;/th&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
      &lt;th&gt; Product one &lt;/th&gt;
      &lt;td&gt; Blue and green &lt;/td&gt;
      &lt;td&gt; In stock &lt;/td&gt;
      &lt;td&gt; $10 &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
      &lt;th&gt; Product two &lt;/th&gt;
      &lt;td&gt; Blue and green &lt;/td&gt;
      &lt;td&gt; In stock &lt;/td&gt;
      &lt;td&gt; $15 &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
      &lt;th&gt; Product three &lt;/th&gt;
      &lt;td&gt; Blue and green &lt;/td&gt;
      &lt;td&gt; In stock &lt;/td&gt;
      &lt;td&gt; $20 &lt;/td&gt;
   &lt;/tr&gt;
&lt;/table&gt;</code></pre>
<p>Example #2 has lesser code (better in terms of page size and load time), needs lesser <acronym title="Cascading Style Sheets">CSS</acronym> since you don&#8217;t have to muck with floats (better, again, in terms of css stylesheet size and load time), and makes sense because we are looking at tabular data: we have specific information connected to a certain product (as defined by the headings).</p>
<p>(Also, shameless pimping: <a href="http://developer.yahoo.com/yui/">YUI</a> can parse tables and show dynamically-generated charts (from your table&#8217;s data) using <a href="http://developer.yahoo.com/yui/datatable/">DataTable</a>&#8211;currently in beta.)</p>
<p>If makes more meaningful sense (in terms of markup) to use a list over tables, sure, I&#8217;d use lists, and would promote the use of lists as well. But what I&#8217;m against is the use of lists for tabular data <em>&#8220;just because&#8221;</em> &#8212; <em>just because</em> I want to make a &#8220;table-less&#8221; website, <em>just because</em> it&#8217;s kewl to sweat it out using lists in lieu of tables and I wanna show I&#8217;ve got the <acronym title="HyperText Markup Language">HTML</acronym>/<acronym title="Cascading Style Sheets">CSS</acronym> chops to do so, <em>just because</em> I feel that I have to prove myself to others.</p>
<p>I feel a lot of newer web developers end up doing this because of those reasons; I&#8217;m a victim of this myself. I was this way when I started not using tables in layouts way back in 2000, I was this way <a href="http://scripts.indisguise.org/2008/03/22/xhtml-versus-html/">when I started using <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> to markup my pages</a> a few years back (three or so?). I jumped in on the bandwagon because it was the cool thing to do, because I can say, hey, I can do this. Now I have a lot of websites I need to update because my understanding of the semantic web has changed.</p>
<p>That said&#8211;I know there are other ways to mark up that chunk of dummy data I put up. Are there other ways of doing it that is meaningful to you as a developer? What criteria do you use when creating table-less layouts?</p>]]></content:encoded>
			<wfw:commentRss>http://whimsical.nu/2008/05/31/definition-of-a-table-less-layout/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>XHTML versus HTML</title>
		<link>http://whimsical.nu/2008/03/22/xhtml-versus-html/</link>
		<comments>http://whimsical.nu/2008/03/22/xhtml-versus-html/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 10:58:54 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Geek chick]]></category>
		<category><![CDATA[doctype]]></category>
		<category><![CDATA[document type declaration]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[semantics]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://scripts.indisguise.org/2008/03/22/xhtml-versus-html/</guid>
		<description><![CDATA[From the start of my &#8220;awakening&#8221; to the knowledge of web standards, accessibility, and the like, I&#8217;ve been coding in XHTML. I started with XHTML 1.0 Transitional, and then as I got more into web standards, XHTML 1.0 Strict. I treat this issue of web standards, accessibility, and validity more and more importantly as time goes by. But the question is, is XHTML is correct choice, or was HTML the right document type definition I should have been using all along? Gasp! I can hear it now. I&#8217;ve been an avid XHTML supporter for quite some time, making sure my...]]></description>
			<content:encoded><![CDATA[<p>From the start of my &#8220;awakening&#8221; to the knowledge of web standards, accessibility, and the like, I&#8217;ve been coding in <acronym title="eXtensible HyperText Markup Language">XHTML</acronym>. I started with <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> 1.0 Transitional, and then as I got more into web standards, <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> 1.0 Strict. I treat this issue of web standards, accessibility, and validity more and more importantly as time goes by. But the question is, is <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> is correct choice, or was <acronym title="HyperText Markup Language">HTML</acronym> the right document type definition I should have been using all along?</p>
<p>Gasp! I can hear it now. I&#8217;ve been an avid <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> supporter for quite some time, making sure my scripts chug out valid <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> markup. A lot of my online friends feel the same about <acronym title="eXtensible HyperText Markup Language">XHTML</acronym>. But I&#8217;ve been hearing more and more about the arguments for and against <acronym title="eXtensible HyperText Markup Language">XHTML</acronym>, that I&#8217;ve decided to sit down and really think about it.</p>
<p>Here are my reasons for choosing <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> waaaay back when, and what makes these reasons invalid:</p>
<ol>
<li>
<p><strong>False: <acronym title="HyperText Markup Language">HTML</acronym> is parsed as tag soup, but since <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> should be valid when parsed, it should be parsed faster and better, not in &#8220;quirks mode&#8221;.</strong></p>
<p>Unfortunately, <em>almost all usage today of <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> is as <acronym title="HyperText Markup Language">HTML</acronym>, and not as <acronym title="eXtensible Markup Language">XML</acronym></em>. This means that they <em>are</em> parsed as &#8220;tag soup&#8221;:</p>
<blockquote><p>&#8220;<acronym title="eXtensible HyperText Markup Language">XHTML</acronym> is an <acronym title="eXtensible Markup Language">XML</acronym> format; this means that strictly speaking it should be sent with an <acronym title="eXtensible Markup Language">XML</acronym>-related media type (application/xhtml+xml, application/xml, or text/xml). However <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> 1.0 was carefully designed so that with care it would also work on legacy <acronym title="HyperText Markup Language">HTML</acronym> user agents as well. If you follow some simple guidelines, you can get many <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> 1.0 documents to work in legacy browsers. However, legacy browsers only understand the media type text/html, so you have to use that media type if you send <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> 1.0 documents to them. But be well aware, sending <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> documents to browsers as text/html means that those browsers see the documents as <acronym title="HyperText Markup Language">HTML</acronym> documents, not <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> documents.&#8221; <cite><a href="http://www.w3.org/MarkUp/2004/xhtml-faq#texthtml"><acronym title="eXtensible HyperText Markup Language">XHTML</acronym> Frequently Asked Questions</a></cite></p></blockquote>
<p>If you want your <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> to be parsed as <acronym title="eXtensible Markup Language">XML</acronym> (and take advantage of the marginally-faster parser&#8230; and when they say &#8220;marginally&#8221;, apparently it <em>is</em> &#8220;marginally&#8221;!), you have to send it as <acronym title="eXtensible Markup Language">XML</acronym>. Unfortunately <acronym title="Internet Explorer">IE</acronym> doesn&#8217;t support that &#8212; you will get a document tree instead of your website layout, unless you give it extra instructions to do so. (<a href="http://www.w3.org/MarkUp/2004/xhtml-faq#ie">See here.</a>) And since <acronym title="Internet Explorer">IE</acronym> <em>is</em> still the dominating browser around (yes, I know you&#8217;re annoyed), one just can&#8217;t ignore it.</p>
<p>If <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> is parsed the way it should be parsed (as <acronym title="eXtensible Markup Language">XML</acronym>), once your document is found to be not well-formed, <em>the browser is supposed to choke and stop parsing</em>. Period.</p>
<blockquote><p>&#8220;To minimize the occurrence of nasty surprises when parsing the document, <acronym title="eXtensible Markup Language">XML</acronym> user agents are told to not be flexible with error handling: if a user agent comes upon a problem in the <acronym title="eXtensible Markup Language">XML</acronym> document, it will simply give up trying to read it. Instead, the user will be presented with a simple parse error message instead of the webpage. This eliminates the compatibility issues with incorrectly-written markup and browser-specific error handling methods by requiring documents to be “well-formed”, while giving webpage authors immediate indication of the problem. This does, however, mean that a single minor issue like an unescaped ampersand (&#038;) in a <acronym title="Uniform Resource Locator">URL</acronym> would cause the entire page to fail, and so most of today&#8217;s public web applications can&#8217;t safely be incorporated in a true <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> page.&#8221; <cite><a href="http://www.webdevout.net/articles/beware-of-xhtml#benefits">Beware of <acronym title="eXtensible HyperText Markup Language">XHTML</acronym></a></cite></p></blockquote>
</li>
<li>
<p><strong>False: <acronym title="HyperText Markup Language">HTML</acronym> is so old-school, it&#8217;s getting deprecated.</strong></p>
<p>Apparently not. I&#8217;ve heard of <acronym title="HyperText Markup Language">HTML</acronym> 5 for a while now, but only fully realized recently what this means. The <acronym title="World Wide Web Consortium">W3C</acronym> <a href="http://www.w3.org/2006/11/HTML-WG-charter.html">renewed the <acronym title="HyperText Markup Language">HTML</acronym> working group</a>, and apparently, web browsers have leaned more towards HTML5 than XHTML2.</p>
<p>Even more shocking, XHTML2 is not backwards-compatible!</p>
<blockquote><p>&#8220;<acronym title="eXtensible HyperText Markup Language">XHTML</acronym> 1.x is not “future-compatible”. <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> 2, currently in the drafting stages, is not backwards-compatible with <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> 1.x. <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> 2 will have lots of major changes to the way documents are written and structured, and even if you already have your site written in <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> 1.1, a complete site rewrite will usually be necessary in order to convert it to proper <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> 2. A simple <acronym title="eXtensible Stylesheet Language">XSL</acronym> transformation will not be sufficient in most cases, because some semantics won&#8217;t translate properly.</p>
<p>&#8220;<acronym title="HyperText Markup Language">HTML</acronym> 4.01 is actually more future-compatible. An <acronym title="HyperText Markup Language">HTML</acronym> 4.01 document written to modern support levels will be valid <acronym title="HyperText Markup Language">HTML</acronym> 5, and <acronym title="HyperText Markup Language">HTML</acronym> 5 is where the majority of attention is from browser developers and the <acronym title="World Wide Web Consortium">W3C</acronym>.&#8221;</p>
<p><cite><a href="http://www.webdevout.net/articles/beware-of-xhtml#myths">Beware of <acronym title="eXtensible HyperText Markup Language">XHTML</acronym></a></cite></p></blockquote>
</li>
</ol>
<p>These are the most important arguments, arguments that I can&#8217;t ignore as a web developer. Obviously, the <a href="http://www.webdevout.net/articles/beware-of-xhtml">Beware of <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> document</a> is a good read, gives both the myths and benefits of using <acronym title="eXtensible HyperText Markup Language">XHTML</acronym>. What&#8217;s even more important is that the way <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> is used, it&#8217;s just like &#8220;the new <acronym title="HyperText Markup Language">HTML</acronym>&#8221;, when it shouldn&#8217;t be that way. <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> is <acronym title="eXtensible Markup Language">XML</acronym>, and should be treated as <acronym title="eXtensible Markup Language">XML</acronym>. The extension shouldn&#8217;t be <code>.html</code>. Browsers should &#8220;give up&#8221; when there&#8217;s an error, and not try to repair the document &#8212; after all, that&#8217;s what browsers do with ill-formed <acronym title="eXtensible Markup Language">XML</acronym> documents, right?</p>
<p>What doctype declaration do <em>you</em> use? And why?</p>]]></content:encoded>
			<wfw:commentRss>http://whimsical.nu/2008/03/22/xhtml-versus-html/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Heading Tags</title>
		<link>http://whimsical.nu/2008/02/24/heading-tags/</link>
		<comments>http://whimsical.nu/2008/02/24/heading-tags/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 03:35:39 +0000</pubDate>
		<dc:creator>Angela</dc:creator>
				<category><![CDATA[Geek chick]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[h1]]></category>
		<category><![CDATA[h2]]></category>
		<category><![CDATA[h3]]></category>
		<category><![CDATA[headers]]></category>
		<category><![CDATA[heading tags]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://scripts.indisguise.org/2008/02/24/heading-tags/</guid>
		<description><![CDATA[A while back, maybe three years back and from the time I started using CSS, I used to do a couple of markup quirks (that incidentally made it easier to spot copycats, but that&#8217;s another story). I used CSS classes all over the place, like below: &#60;div class="content"&#62; &#60;div class="divTitle"&#62;Some title&#60;/div&#62; &#60;div class="divSubTitle"&#62;Some sub heading&#60;/div&#62; &#60;p&#62;My content went here, in ordinary P tags.&#60;/p&#62; &#60;/div&#62; It worked for me. But starting from around two years back, I finally weaned myself off of using the semantically-blank DIV tags (where appropriate) and use proper HTML markup. My biggest reason for this is lesser...]]></description>
			<content:encoded><![CDATA[<p>A while back, maybe three years back and from the time I started using <acronym title="Cascading Style Sheets">CSS</acronym>, I used to do a couple of markup quirks (that incidentally made it easier to spot copycats, but that&#8217;s another story). I used <acronym title="Cascading Style Sheets">CSS</acronym> classes all over the place, like below:</p>
<pre><code>&lt;div class="content"&gt;
&lt;div class="divTitle"&gt;Some title&lt;/div&gt;
&lt;div class="divSubTitle"&gt;Some sub heading&lt;/div&gt;
&lt;p&gt;My content went here, in ordinary P tags.&lt;/p&gt;
&lt;/div&gt;</code></pre>
<p>It worked for me. <strong>But starting from around two years back, I finally weaned myself off of using the semantically-blank DIV tags (where appropriate) and use proper <acronym title="HyperText Markup Language">HTML</acronym> markup.</strong> My biggest reason for this is <em>lesser code</em>, and <em>my page is &#8220;prettier&#8221; when the <acronym title="Cascading Style Sheets">CSS</acronym> is turned off</em>. Observe:</p>
<pre><code>&lt;div id="content"&gt;
&lt;h1&gt;Some title&lt;/h1&gt;
&lt;h2&gt;Some sub heading&lt;/h2&gt;
&lt;p&gt;My content went here, in still ordinary P tags.&lt;/p&gt;
&lt;/div&gt;</code></pre>
<p>In terms of style control, it was easily done via <acronym title="Cascading Style Sheets">CSS</acronym> anyway; and if I wanted a completely blank stylesheet anyway, a nice <acronym title="Cascading Style Sheets">CSS</acronym> reset will do that for me. (A word of note though: <em><acronym title="Cascading Style Sheets">CSS</acronym> reset does have its pros and cons.</em> Personally I&#8217;m still a bit on the fence as to whether I&#8217;d go for using one that reset all the native styles or not, above the paddings and margins.)</p>
<p>An interesting post on heading tags, including a possible system/technique on using them, was posted by Matt Snider: <a href="http://mattsnider.com/architecture/semantic-design/when-to-use-heading-tags/">When to Use Heading Tags</a>. It&#8217;s a good, interesting read.</p>]]></content:encoded>
			<wfw:commentRss>http://whimsical.nu/2008/02/24/heading-tags/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

