<?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>Jason Bagley &#187; Code</title>
	<atom:link href="http://www.jasonbagley.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasonbagley.com</link>
	<description>Blogger, Entrepreneur and Public Speaker on all things web</description>
	<lastBuildDate>Wed, 08 Feb 2012 20:42:37 +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>CSS links</title>
		<link>http://www.jasonbagley.com/2008/05/10/css-links/</link>
		<comments>http://www.jasonbagley.com/2008/05/10/css-links/#comments</comments>
		<pubDate>Sat, 10 May 2008 09:55:09 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.jasonbagley.com/?p=226</guid>
		<description><![CDATA[I&#8217;ve been doing some pretty hectic slicing and dicing of xhtml and css of late and in the process have learnt a few more tricks with CSS. For example, how to properly use definition lists (&#60;dl&#62;, &#60;dd&#62;, &#60;dt&#62;), proper font sizing and absolute and relative positioning of parent and child elements just to name a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="left" src="http://www.jasonbagley.com/wp-content/uploads/2008/05/web_design.jpg" alt="" title="web design" width="180" height="134" />I&#8217;ve been doing some pretty hectic slicing and dicing of xhtml and css of late and in the process have learnt a few more tricks with CSS. For example, how to properly use definition lists (&lt;dl&gt;, &lt;dd&gt;, &lt;dt&gt;), proper font sizing and absolute and relative positioning of parent and child elements just to name a few.</p>
<p>Here are a few CSS links that might be of interest:</p>
<ul>
<li><a href="http://www.the-art-of-web.com/css/format-dl/">Formatting a definition list</a></li>
<li><a href="http://www.3point7designs.com/blog/2008/05/08/8-fonts-you-probably-dont-use-in-css-but-should/">8 fonts you probably don’t use in css, but should</a></li>
<li>The Incredible Em &#038; Elastic Layouts with CSS &#8211; proper font sizing!</li>
<li>Pixels to Ems Conversion Table for CSS</li>
<li><a href="http://www.smashingmagazine.com/2007/05/10/70-expert-ideas-for-better-css-coding/">70 Expert Ideas For Better CSS Coding</a></li>
<li><a href="http://www.smashingmagazine.com/2008/05/02/improving-code-readability-with-css-styleguides/">Improving Code Readability With CSS Styleguides</a></li>
<li><a href="http://css.maxdesign.com.au/listamatic/">Listmatic</a> &#8211; formatting lists (&lt;ul&gt;, &lt;ol&gt;, &lt;li&gt;)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbagley.com/2008/05/10/css-links/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Web standards in South Africa &#8211; Top 10 SA sites validated</title>
		<link>http://www.jasonbagley.com/2006/04/04/web-standards-in-south-africa-top-10-sa-sites-validated/</link>
		<comments>http://www.jasonbagley.com/2006/04/04/web-standards-in-south-africa-top-10-sa-sites-validated/#comments</comments>
		<pubDate>Tue, 04 Apr 2006 09:26:08 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.jasonbagley.com/?p=40</guid>
		<description><![CDATA[Web standards doesn&#8217;t seem to be a very important aspect of functional web design here in South Africa. Websitewriters.co.za was recently launched to try and help South African designers relise that Web Standards aren&#8217;t two words made up by some university graduate, so I thought it would be a good time to visit some of [...]]]></description>
			<content:encoded><![CDATA[<p>Web standards doesn&#8217;t seem to be a very important aspect of functional <a href="http://www.hortongroup.com/web-design">web design</a> here in South Africa. Websitewriters.co.za was recently launched to try and help South African designers relise that Web Standards aren&#8217;t two words made up by some university graduate, so I thought it would be a good time to visit some of the top SA sites to see if they have adhered to web standards.<span id="more-40"></span></p>
<p>You might ask, whats the reason for using Web Standards?<br />
Quote from WebStandards.org: <em>Web standards reduce the <a href="http://www.carinsurancerates.com/ask/teens/662-policy-costs-for-younger-drivers.html">cost</a> and complexity of development while increasing the accessibility and long-term viability of any site published on the Web.</em></p>
<p>If you want more info, read Roger Johansson&#8217;s post on <a href="http://www.456bereastreet.com/archive/200512/ten_reasons_to_learn_and_use_web_standards/">Ten reasons to learn and use web standards</a>. There really shouldn&#8217;t be any doubting the use of Web Standards after reading that post. :-)</p>
<p>So lets get into the nitty gritty. I used the <a href="http://validator.w3.org">W3c&#8217;s HTML validator</a> to validate 10 SA sites homepages. Below find the results of my little experiment:</p>
<ul>
<li>Mweb.co.za &#8211; <strong>302 errors</strong></li>
<li>News24.com &#8211; <strong>145 errors</strong></li>
<li>ITWeb.co.za &#8211; <strong>481 errors</strong></li>
<li>IOL.co.za &#8211; <strong>633 errors</strong></li>
<li>Ananzi.co.za &#8211; <strong>Failed validation</strong></li>
<li>Supersport.co.za &#8211; <strong>Failed validation</strong></li>
<li>iAfrica.com &#8211; <strong>585 errors</strong></li>
<li>CareerJunction.co.za &#8211; <strong>50 errors</strong></li>
<li>Mail&#038;Gaurdian &#8211; <strong>786 errors</strong></li>
<li>Telkom.co.za &#8211; <strong>29 errors</strong></li>
</ul>
<p>I&#8217;m actually not as shocked as I thought I would be. I almost kind of expected it. Seems like news sites, like Mail&#038;Gaurdian, IOL and ITWeb, racked up close to 2000 errors! Are half those errors even neccesary? I&#8217;m willing to bet that if they just used valid HTML elements and attributes, that error-log would almost halve, without them having to tweak any of their CSS files (If they even know what CSS is!?).</p>
<p>With bandwidth and internet speed an issue in South Africa, these sites aren&#8217;t helping with their over-crowed and invalid markup. You actually don&#8217;t have an excuse not to use Web Standards. So why then?</p>
<p>Like this article? <a href="http://digg.com/design/Web_standards_in_South_Africa_-_Top_10_SA_sites_validated">Digg it</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbagley.com/2006/04/04/web-standards-in-south-africa-top-10-sa-sites-validated/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>HTML Statistics</title>
		<link>http://www.jasonbagley.com/2006/03/10/html-statistics/</link>
		<comments>http://www.jasonbagley.com/2006/03/10/html-statistics/#comments</comments>
		<pubDate>Fri, 10 Mar 2006 10:10:13 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.jasonbagley.com/?p=29</guid>
		<description><![CDATA[Everyone loves statistics, especially us web designers. From checking your traffic stats 5 times a day to Technorati this or that, everyone likes to compare stats. So a couple of okes did a web study on sites that validated, which type of HTML tags were most common or how many different ID tags were used. [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone loves statistics, especially us web designers. From checking your traffic stats 5 times a day to <a href="http://www.technorati.com">Technorati</a> this or that, everyone likes to compare stats.</p>
<p>So a <a href="http://westciv.typepad.com/dog_or_higher/2005/11/real_world_sema.html">couple</a> of <a href="http://www.goer.org/Journal/2003/Apr/index.html">okes</a> did a web study on sites that validated, which type of HTML tags were most common or how many different ID tags were used. These studies were based on less than 1000 websites or pages. So the results are more interesting than conclusive. December 2005 roles around and in steps <a href="http://www.google.com">Big Daddy</a> and did <em>&#8220;an analysis of a sample of slightly over a <strong>billion</strong> documents&#8221;</em>.  Woah&#8230; <span id="more-29"></span></p>
<p><strong>Some interesting facts</strong></p>
<ul>
<li>Most pages have 19 elements specified. &lt;html&gt;, &lt;head&gt;, &lt;a&gt;, &lt;table&gt; etc</li>
<li>The top 4 elements used are &lt;head&gt;, &lt;html&gt;, &lt;title&gt; and &lt;body&gt; &#8211; funny thing is that 3 of the 4 elements are optional in HTML.</li>
<li>The most popular class names used are footer, menu, title, small, text and nav &#8211; and all these class names have all been proposed in HTML5.</li>
<li>Interesting that &#8220;msonormal&#8221; was the 13th most used class name which is a Microsoft Office generated tag. Just shows you how many people still use that stone-age way of coding sites.</li>
<li>More pages use the completely worthless &lt;meta name=&#8221;revisit-after&#8221;&gt; than use the &lt;em&gt; element!</li>
<li>The &lt;body&gt; element is probably the most abused element. Out of the top 20 attributes (bgcolor=&#8221;", topmargin=&#8221;", link=&#8221;" etc) 9 are completely invalid, and 5 have been deprecated for 8 years, which is half the lifetime of the web!</li>
<li>Tables. There was a scary amount of table tags without any td tags. Empty tables?!</li>
<li>The &lt;br&gt; element is used more than the &lt;p&gt; element.</li>
<li>Some of the &lt;a&gt; elements rel=&#8221;" attributes values have mostly been spurred on of late by WordPress (rel=&#8221;external&#8221;) and the Web 2.0 social tagging phenomenon (rel=&#8221;tag&#8221;).</li>
<li>The &lt;script&gt; element has some funny attributes associated with it. The language=&#8221;" attribute is the most used, but has been deprecated for years. Funny thing is that people also can&#8217;t spell it &#8211; langauge=&#8221;", langugage=&#8221;" and languaje=&#8221;".</li>
</ul>
<p>Go read some of the stats for yourself at <a href="http://code.google.com/webstats/index.html">http://code.google.com/webstats/index.html</a>. Darn interesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbagley.com/2006/03/10/html-statistics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

