<?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>Net New Media</title>
	<atom:link href="http://netnewmedia.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://netnewmedia.com</link>
	<description>Web Design &#38; Development &#124; SEO &#124; Internet Marketing</description>
	<lastBuildDate>Mon, 08 Feb 2010 18:24:01 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Use PHP and Javascript to Import  and Display Google Analytics Data</title>
		<link>http://netnewmedia.com/use-php-and-javascript-to-show-google-analytics-data-on-your-site-with-charts/</link>
		<comments>http://netnewmedia.com/use-php-and-javascript-to-show-google-analytics-data-on-your-site-with-charts/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 18:18:32 +0000</pubDate>
		<dc:creator>Martin Przybyla</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://netnewmedia.com/?p=218</guid>
		<description><![CDATA[
Logging into Google Analytics to check your daily site stats is all fine and dandy, but sometimes you are short on time and it becomes an unnecessary step, especially if you are already logging into some type of CMS to edit your site&#8217;s content.
For those wanting to incorporate Google Analytics data into their CMS, there [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://netnewmedia.com/wp-content/uploads/2010/02/google-analytics-php.png"><img class="aligncenter size-medium wp-image-220" title="google-analytics-php" src="http://netnewmedia.com/wp-content/uploads/2010/02/google-analytics-php-300x136.png" alt="Google Analytics PHP Javascript" width="300" height="136" /></a></p>
<p>Logging into Google Analytics to check your daily site stats is all fine and dandy, but sometimes you are short on time and it becomes an unnecessary step, especially if you are already logging into some type of CMS to edit your site&#8217;s content.<span id="more-218"></span></p>
<p>For those wanting to incorporate Google Analytics data into their CMS, there are a couple of readily available classes out there that make it as easy as adding a few lines of PHP code to your site, then looping through the results and displaying them using a graphing library.</p>
<p>As for the PHP classes, you have <a href="http://www.swis.nl/ga/">a very easy to use analytics class here</a>, and then there is the <a href="http://code.google.com/p/gapi-google-analytics-php-interface/">very capable ga:pi php class</a> that will produce similar results.</p>
<p>Once your PHP has retrieve the data from your Analytics account, you will need some sort of javascript or image processing library to graph the data.  Two interesting options are the <a href="http://g.raphaeljs.com/">gRaphaël javascript library graphing library</a>, and the <a href="http://code.google.com/apis/chart/">Google Charts API</a>.</p>
<p>With that, you should be able to easily incorporate any Analytics data you want into your own site, including eCommerce transaction data and various combinations of dimensions and metrics.</p>
]]></content:encoded>
			<wfw:commentRss>http://netnewmedia.com/use-php-and-javascript-to-show-google-analytics-data-on-your-site-with-charts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using CSS to Create an SEO Friendly HTML Layout</title>
		<link>http://netnewmedia.com/using-css-to-create-an-seo-friendly-html-layout/</link>
		<comments>http://netnewmedia.com/using-css-to-create-an-seo-friendly-html-layout/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 14:22:40 +0000</pubDate>
		<dc:creator>Martin Przybyla</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML/XHTML]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://netnewmedia.com/?p=170</guid>
		<description><![CDATA[In a previous post I examined how to put together an HTML / XHTML template that is optimized for the best possible Search Engine rankings.  This entailed creating a logical HTML structure that puts the important content first, minimizing the &#60;head&#62; length, externalizing CSS and Javascript to speed up loading times, and generally using [...]]]></description>
			<content:encoded><![CDATA[<p>In a previous post I examined how to put together an <a title="HTML Optimized for SEO" href="http://netnewmedia.com/optimized-seo-html-templates/" target="_self">HTML / XHTML template that is optimized for the best possible Search Engine rankings</a>.  This entailed creating a logical HTML structure that puts the important content first, minimizing the <code>&lt;head&gt;</code> length, externalizing CSS and Javascript to speed up loading times, and generally using minimal markup.<br />
<span id="more-170"></span><br />
Now let&#8217;s take a similar optimized HTML template, and using some CSS magic, create a layout that is solid yet light, holds together well cross-browser, and is SEO friendly from the ground up.</p>
<p>This will be the XHTML markup we will work be working with:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #00bbdd;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">html</span> xmlns<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.w3.org/1999/xhtml&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/html; charset=utf-8&quot;</span> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Content-Type&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">title</span>&gt;</span>Your Site - Your Location - Your Tagline<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">title</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;keywords&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Your site purpose, Your Location, Your other keywords...&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;description&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Your site in your location, the rest of your description...&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;copyright&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #808080; font-style: italic;">&lt;!-- Load Styles --&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;css/seo-template.css&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>			
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;your_page&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;your_page_type&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;container&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h1</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;doc-header&quot;</span>&gt;</span>Your Business in your Location - Your Services<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h1</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;branding&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;logo&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;images/logo.png&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Your Site&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end branding --&gt;</span>
&nbsp;
 	<span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 7]&gt;&lt;div id=&quot;language-list-bugwrapper&quot;&gt;&lt;![endif]--&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;language-list&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>English<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Spanish<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end language-list --&gt;</span>
	<span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 7]&gt;&lt;/div&gt;&lt;![endif]--&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;main-content&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>Your Secondary Title<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>More paragraph content here...<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>Another Secondary Title<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>More paragraph content here...<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end main content --&gt;</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 7]&gt;&lt;div id=&quot;main-visual-bugwrapper&quot;&gt;&lt;![endif]--&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;main-visual&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;image-1&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;images/main-seo-image.jpg&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Main SEO alt text&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;300px&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;960px&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 7]&gt;&lt;/div&gt;&lt;![endif]--&gt;</span>
&nbsp;
 	<span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 7]&gt;&lt;div id=&quot;main-menu-bugwrapper&quot;&gt;&lt;![endif]--&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;main-menu&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>First Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Second Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end main menu --&gt;</span>
	<span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 7]&gt;&lt;/div&gt;&lt;![endif]--&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;additional-content&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>Third Level Title<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Third Level Content...<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end additional content --&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sidebar&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>Sidebar Title<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Sidebar Content<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end sidebar --&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;footer&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bottom-menu&quot;</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>First Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Second Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end footer --&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end container --&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></pre></div></div>

<p>Now, this is not a design post, so we are going to give some rather shockingly bright background colors to each of our main divs just for the purpose of the build, so we can see exactly what is going on.  We&#8217;ll use standard rainbow CSS colors for this purpose: gray, lightgray, lightblue, orange, etc.</p>
<p>The final layout is going to look like this:<br />
<div id="attachment_173" class="wp-caption aligncenter" style="width: 610px"><img src="http://netnewmedia.com/wp-content/uploads/2009/10/seo-template-layout.jpg" alt="SEO Template Layout" title="seo-template-layout" width="600" height="757" class="size-full wp-image-173" /><p class="wp-caption-text">SEO Template Layout</p></div></p>
<p>So let&#8217;s get to it.  As you can see, we are going to create a fairly standard centered layout.  The first thing we need to do is center our container div. We can set our width to a standard 1024px, then set the margins to auto which should center it:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#container</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">1024px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">min-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">800px</span><span style="color: #00AA00;">;</span> _height<span style="color: #00AA00;">:</span> <span style="color: #933;">800px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* IE 6 does not support min-height */</span>
	<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> lightblue<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #993333;">auto</span> <span style="color: #933;">0px</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>After we have out container centered, we can position our main content by creating margins that will push the content where we want it to go.  Our layout&#8217;s height will vary, so we will float it left so that it pushes the rest of the content down by allowing the main content area to expand.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#main-content</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> pink <span style="color: #993333;">none</span> <span style="color: #993333;">repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">340px</span> <span style="color: #933;">252px</span> <span style="color: #933;">20px</span> <span style="color: #933;">32px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">min-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span> _height<span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* IE 6 does not support min-height */</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">740px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* IE 6 double margin bug */</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>We then use a similar technique to position the other content divs, including our sidebar, additional-content, and footer.  We use margins, although depending on the layout, padding could also work.</p>
<p>This creates a layout that puts our HTML in a logical, SEO friendly order, as if we were organizing an essay or an outline, while allowing us to position the elements wherever the design demands.  Google and other search engines don&#8217;t really care where we place our content with CSS of course, the only thing search engines read is the underlying HTML markup.  If you want to have an idea what Google sees, just hitting the good old Ctrl+U command, or using a screen reader or Google Webmaster tools will give you a good idea.</p>
<p>So, according to our HTML structure, we&#8217;ve decided that the order of importance for our elements is as follows:</p>
<ol>
<li>We wrap everything in a container div, in order to center it.  We might be able to use just the body to center it, but in order to create a more flexible layout, we wrap everything in a container.</li>
<li>The first truly important element for SEO purposes is going is our H1 heading.  This should be the title of this page in particular, and we should not put any other H1&#8217;s on the page. We also want search engines to find this as quickly as possible, so we put it immediately after our container div.</li>
<li>After the H1, we are going to add our company branding div, with our logo.</li>
<li>The next element will be the language selection div.  Since we don&#8217;t know what language our user&#8217;s speak, it&#8217;s always good to let them change it so they don&#8217;t have to go further down the markup looking for it.</li>
<li>Then we get to the &#8220;meat and potatoes&#8221; of our page, the main content div, with it&#8217;s H2 headings and rich paragraph text.  This is the most important part of our site in terms of SEO.</li>
<li>After the main content, we have our main visual content.  This is visual content, such as images, that is associated with the above mentioned main content.</li>
<li>We then add all our other elements, such as any additional content, sidebar, footer, etc. in order of importance to the page</li>
</ol>
<p>This looks ok, we now have a logical structure for our HTML markup.</p>
<p>As I mentioned earlier, our main image (or slideshow), for example, is important for SEO because the Alt information and image names get indexed by Google and other major search engines.  However, the image Alt tags are not as important as the main content div itself, and the rich H2 and paragraph text it contains.  This is why in the HTML markup we have put the <code>&lt;div id="main-visual"&gt;</code> after the main content div.</p>
<p>In the design of the layout however, the main visual div is above the main content.  So how do we flip the order and get the images contained in our main visual div above the floated main content in the layout even though it is further down in the markup?  We can use CSS to absolutely position in the correct place, of course, like so:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#main-visual</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">120px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">32px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">960px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>We can then use a similar technique with all our other elements, either floating them and using margins (or padding) to push them around, or using absolute positioning to position them anywhere on the page.</p>
<p>Here is the fulll CSS code:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* ==== reset css ==== */</span>
&nbsp;
body<span style="color: #00AA00;">,</span> h1<span style="color: #00AA00;">,</span> h2<span style="color: #00AA00;">,</span> h3<span style="color: #00AA00;">,</span> h4<span style="color: #00AA00;">,</span> h5<span style="color: #00AA00;">,</span> h6<span style="color: #00AA00;">,</span> p<span style="color: #00AA00;">,</span> ul<span style="color: #00AA00;">,</span> form<span style="color: #00AA00;">,</span> td<span style="color: #00AA00;">,</span> button<span style="color: #00AA00;">,</span> input<span style="color: #00AA00;">,</span> select <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
h1<span style="color: #00AA00;">,</span> h2<span style="color: #00AA00;">,</span> h3<span style="color: #00AA00;">,</span> h4<span style="color: #00AA00;">,</span> h5<span style="color: #00AA00;">,</span> h6 <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1em</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
ul <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.2em</span><span style="color: #00AA00;">&#125;</span>
a <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
a img <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
body <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Arial<span style="color: #00AA00;">,</span> helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">76</span>%</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* ==== main layout ==== */</span>
&nbsp;
body<span style="color: #cc00cc;">#your_page</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> darkgray<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
body<span style="color: #6666ff;">.your_page_type</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#container</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">1024px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">min-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">800px</span><span style="color: #00AA00;">;</span> _height<span style="color: #00AA00;">:</span> <span style="color: #933;">800px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* IE 6 does not support min-height */</span>
	<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> lightblue<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #993333;">auto</span> <span style="color: #933;">0px</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#container</span><span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'.'</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">visibility</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
h1<span style="color: #cc00cc;">#doc-header</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">32px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">992px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* 1024px - 32px padding */</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> darkgray<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#branding</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">gray</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#logo</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span> <span style="color: #933;">5px</span> <span style="color: #933;">5px</span> <span style="color: #933;">32px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#main-visual</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">120px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">32px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">960px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#main-content</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> pink <span style="color: #993333;">none</span> <span style="color: #993333;">repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">340px</span> <span style="color: #933;">252px</span> <span style="color: #933;">20px</span> <span style="color: #933;">32px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">min-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span> _height<span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* IE 6 does not support min-height */</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">740px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* IE 6 double margin bug */</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#additional-content</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">740px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span>  <span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">min-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">400px</span><span style="color: #00AA00;">;</span> _height<span style="color: #00AA00;">:</span> <span style="color: #933;">400px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">20px</span> <span style="color: #933;">20px</span> <span style="color: #933;">32px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* IE6 double margin bug */</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#sidebar</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* IE6 double margin bug */</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-320px</span> <span style="color: #933;">32px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* negative main content height + margin */</span>
	<span style="color: #000000; font-weight: bold;">min-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">500px</span><span style="color: #00AA00;">;</span> _height<span style="color: #00AA00;">:</span> <span style="color: #933;">500px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">green</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#footer</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#language-list</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> lightgreen <span style="color: #993333;">none</span> <span style="color: #993333;">repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">40px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">32px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">55px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">65px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#language-list</span> li <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#main-menu</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> <span style="color: #993333;">none</span> <span style="color: #993333;">repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">190px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">70px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">700px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #cc00cc;">#main-menu</span> li <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#copyright</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#bottom-menu</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#bottom-menu</span> ul <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">900px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> orange<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#bottom-menu</span> ul li <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* ==== text styles ==== */</span>
&nbsp;
 <span style="color: #cc00cc;">#main-content</span> h2 <span style="color: #00AA00;">&#123;</span>
 	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">720px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
 <span style="color: #00AA00;">&#125;</span>
&nbsp;
 <span style="color: #cc00cc;">#main-content</span> p <span style="color: #00AA00;">&#123;</span>
 	<span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
 <span style="color: #00AA00;">&#125;</span>
&nbsp;
 <span style="color: #cc00cc;">#sidebar</span> h3 <span style="color: #00AA00;">&#123;</span>
 	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
 <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>This gives us an underlying HTML structure that is excellent for SEO purposes and is logical and follows a clear outline. Yet by using some smart CSS we can create almost any type of layout we desire without modifying the base markup.</p>
<p>On a side note, as you can see in the full CSS code, I have given a min-height to several of our divs just to give you an idea of how the page would look with more content in it (using _height to adjust for IE6 which does not support min-height).  I&#8217;ve also used the clear fix technique so content doesn&#8217;t escape our container div in Firefox, and in the HTML code, we&#8217;ve had to use conditional comments to avoid the <a href="http://www.brunildo.org/test/IE_raf3.html">disappearing content bog in IE6</a>, as well as the old display:inline trick to avoid the <a href="http://www.positioniseverything.net/explorer/doubled-margin.html">double-margin bug in IE6</a>.</p>
<p>That&#8217;s it, now you can check out our <a href="http://netnewmedia.com/examples/seo-template/index.html">SEO friendly, cross-browswer, HTML and CSS template in action</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://netnewmedia.com/using-css-to-create-an-seo-friendly-html-layout/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flash and SEO: How are Flash Sites Indexed by Google?</title>
		<link>http://netnewmedia.com/flash-seo-for-google/</link>
		<comments>http://netnewmedia.com/flash-seo-for-google/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 18:32:11 +0000</pubDate>
		<dc:creator>Martin Przybyla</dc:creator>
				<category><![CDATA[Flash/Actionscript]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://netnewmedia.com/?p=142</guid>
		<description><![CDATA[
Why doesn&#8217;t my site show up in Google? If I had a nickle for every time I heard that question. A typical answer a couple of years ago would have been &#8220;well, of course it doesn&#8217;t show up, you built it in Flash!&#8221; But then Google started indexing Flash, and has since continued to improve [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-145" title="flash-google-seo" src="http://netnewmedia.com/wp-content/uploads/2009/10/flash-google-seo.png" alt="flash-google-seo" width="400" height="130" /></p>
<p>Why doesn&#8217;t my site show up in Google? If I had a nickle for every time I heard that question. A typical answer a couple of years ago would have been &#8220;well, of course it doesn&#8217;t show up, you built it in Flash!&#8221; But then Google started indexing Flash, and has since continued to improve their <a title="Improved Flash Indexing" href="http://googlewebmastercentral.blogspot.com/2008/06/improved-flash-indexing.html" target="_blank">Flash search algorithms</a>, recently adding the capability to <a title="Flash External Resource Indexing" href="http://googlewebmastercentral.blogspot.com/2009/06/flash-indexing-with-external-resource.html" target="_blank">index external Flash resources</a>.<br />
<span id="more-142"></span></p>
<p>So Google can index Flash (.swf) files, that&#8217;s great you say.  But does that mean if you build your site in Flash you can really get objectively good SEO results?  Well, the answer is not that simple, although in theory it should be possible.</p>
<p>Of course, techniques have existed for quite some time to allow Google to index alternative content in the object tag for Flash.  And a least one such technique, <a href="http://www.adobe.com/devnet/flashplayer/articles/alternative_content.html">utilizing SWFObject to load the Flash and the alternative content</a>, specifically an image with ALT text, is officially endorsed by Adobe.</p>
<p>I recently came across an interesting set of <a title="Flash SEO Experiments" href="http://www.flashnseo.com/" target="_blank">Flash SEO experiments</a>, which show how Flash does get picked up by Google.</p>
<p>It is nice to see that indeed, if you build your Flash site correctly, you can show up in search engine results.  Embedded text in Flash files is indexed, even if that content is loaded with SWFObject, or if it is pulled in from an external source.</p>
<p>The fact that Google is now indexing Flash content is an important step forward for those who want to use the technology for a rich multimedia experience.  However, I am still not entirely convinced about sites that are purely built in Flash.  In fact, even Adobe themselves suggest that at least the <a title="Flash SEO checklist" href="http://www.adobe.com/devnet/seo/articles/checklist_ria.html" target="_blank">main navigation of your site be in HTML</a>.</p>
<p>If SEO is a serious concern, my general recommendation to clients is that if they want to incorporate rich media in their sites, they use a hybrid of HTML for the text based content, and Flash for the multimedia aspect of the site, if possible. <a href="http://www.thefwa.com/articles/hybrid1105.html" target="_blank">Hybrid layouts offer a lot of benefits</a> over purely Flash based sites.</p>
<p>The problem with 100% Flash sites is in order to get your site to really do well on the SEO front, you are still essentially going to have to build two versions of your site, a Flash version and an HTML version.  And depending on your budget, this could be too costly to develop. Smartly built hybrid HTML/Flash sites can offer the same multimedia experience while still providing excellent SEO results.</p>
]]></content:encoded>
			<wfw:commentRss>http://netnewmedia.com/flash-seo-for-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Choosing the Right Open Source PHP CMS for the Job</title>
		<link>http://netnewmedia.com/choosing-the-best-open-source-php-cms/</link>
		<comments>http://netnewmedia.com/choosing-the-best-open-source-php-cms/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 20:09:47 +0000</pubDate>
		<dc:creator>Martin Przybyla</dc:creator>
				<category><![CDATA[CMS (Content Management Systems)]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://netnewmedia.com/?p=91</guid>
		<description><![CDATA[
Choosing the best CMS (Content Management System) for a website or web based project can be a daunting task.  Take a look at OpenSourceCMS.com and you can see that currently there are over 200+ CMS demos you can try out in the PHP category alone.  Faced with this many options, and having to make a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-106 alignnone" title="cms-logos" src="http://netnewmedia.com/wp-content/uploads/2009/09/cms-logos.png" alt="CMS logos - Wordpress, Drupal, Modx, Frog CMS, Silverstripe" width="387" height="201" /></p>
<p>Choosing the best CMS (Content Management System) for a website or web based project can be a daunting task.  Take a look at <a title="Open Source CMS" href="http://www.opensourcecms.com/">OpenSourceCMS.com</a> and you can see that currently there are over 200+ CMS demos you can try out in the <a title="PHP Open Source CMS" href="http://php.opensourcecms.com/">PHP category</a> alone.  Faced with this many options, and having to make a decision within a limited time frame, what do you do?<span id="more-91"></span> The choice can be even more complicated if you are building a site for an important client, as the CMS you choose can have enormous consequences for the client further down the road.</p>
<p>For this reason it&#8217;s important to read the reviews, check the technical specifications, look at the code, and most importantly, know the requirements of the project.  Over the years I&#8217;ve worked with many different open source PHP-based CMS systems, and, like everyone else, I&#8217;ve got my opinions as to which are best, and why.</p>
<p>Here&#8217;s a quick rundown of my favorite PHP based CMS systems, and why I think they excel.</p>
<h3>MODx</h3>
<p><a title="MODx CMS" href="http://modxcms.com/">MODx</a> considers itself to be an<em> Open Source PHP application framework</em> and although it is a functional CMS out of the box, it is very modular, allowing you to pick and choose the features you want and easily extend it&#8217;s native compatibilities.  It also features a slick AJAX based interface, and a modern architecture.  Other strong points for MODx incude:</p>
<ul>
<li>SEO friendly from the ground up</li>
<li>Built with Web Standards in mind</li>
<li>Fairly easy to create custom content using &#8220;chunks&#8221;</li>
</ul>
<p>That said, it does take some time to get used to MODx, it&#8217;s terminology and its templating structure, and it is a bit lacking in pre-built 3rd party plugins and components.</p>
<h3>Silverstripe</h3>
<p><a title="Silverstripe CMS" href="http://silverstripe.org/">Silverstripe</a> is another modern CMS system that also has its own framework, Sapphire, behind it, as well as a modular architecture that allows for a great deal of flexibilty.  Silverstripe has been used for some <a title="Silverstripe powers DNC 2008 site" href="http://www.silverstripe.com/2008-democratic-national-convention/">high profile projects</a> and has a slick, professional interface.</p>
<p>Other strong points for Silverstripe:</p>
<ul>
<li>Allows you to use your own HTML/CSS structure</li>
<li>Great translation module available</li>
<li>Easy and flexible content editing</li>
</ul>
<p>Like MODx however, Silverstripe does require some time to get used to, and you will need to learn the Sapphire framework to take full advantage of its capabilities.</p>
<h3>Frog CMS</h3>
<p><a title="Frog CMS" href="http://www.madebyfrog.com/">Frog CMS</a> started out as a PHP version of the Radiant CMS for Ruby on Rails.  It&#8217;s main strength is best described by the Frog CMS tagline, &#8220;It&#8217;s fast, it&#8217;s simple, and it works&#8221;.  This CMS is a great choice for small to medium sized sites and those who already know some basic PHP.</p>
<p>Advanages for Frog CMS:</p>
<ul>
<li>No templating languages to learn, just HTML/CSS and PHP</li>
<li>Clean interface that&#8217;s easy to modify</li>
</ul>
<p>The main downside for the Frog CMS is it&#8217;s lack of pre-built extensions, and if you don&#8217;t know PHP this is probably not the best choice.</p>
<h3>Drupal</h3>
<p><a title="Drupal CMS" href="http://drupal.org/">Drupal</a> is a classic, one of the most well-known CMS systems, it has been around for a long time and has a huge community behind it.  This is both the best thing and the worst thing about it.  It&#8217;s great because there are a huge amount of extensions for this CMS, and there have been numerous high traffic sites built on the platform, but at the same time it has a steep learning curve, and simply wrapping your head around the architecture and various extensions is a job in and of itself.</p>
<p>Plus points:</p>
<ul>
<li>Robust, tested, and reliable</li>
<li>Lots of extensions</li>
</ul>
<p>As far as critiques go for Drupal, the primary complaint seems to be the learning curve, and the somewhat limiting architecture, it is not the easiest system to style, and it&#8217;s hard to get a Drupal site to not look like a Drupal site.</p>
<h3>Wordpress</h3>
<p>No CMS roundup would really be complete without mentioning <a title="Wordpress CMS" href="http://wordpress.org/">Wordpress</a>.  Many people think of Wordpress as simply a blogging platform, but it is actually a very capable CMS system, and can be used for almost any type of site.  The advantages of Wordpress are quite obvious, an insane amount of prebuilt components and plugins, excellent documentaion, and a huge community make developing sites with Wordpress lightning fast.  Before moving on to other CMS systems I would probably check to see if the site could be built faster with WP.</p>
<p>Kudos for Wordpress:</p>
<ul>
<li>Mind boggling amount of prebuilt components available</li>
<li>Excellent documentation</li>
<li>Very large and supportive developer community</li>
</ul>
<p>Of course, Wordpress is not a viable option for certain types of larger sites, as its main focus continues to be blogging and smaller scale sites (though it must be said that WP can handle high traffic sites).</p>
<p>At the end of the day, the type of CMS you choose needs to fit the type of project you are building.  My experience is that there is no magic bullet.  MODx, Silverstripe, Frog CMS, Drupal, and Wordpress are all excellent options, but you need to carefully examine their capabilities and the extensions available, and match those to your requirements or those of your client.</p>
<p>Depending on the type of development that needs to be done, one of these CMS platforms could be the perfect option for quick development, or you might need a more customized solution, in which case you may want to look at a PHP framework such as <a title="Zend Framework" href="http://framework.zend.com/">Zend</a>, <a title="Codeigniter Framework" href="http://codeigniter.com/">Codeigniter</a>, <a title="Kohana CMS" href="http://kohanaphp.com/">Kohana</a>, or <a title="Symfony Framework" href="http://www.symfony-project.org/">Symfony</a>, or decide to build your site from the ground up with PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://netnewmedia.com/choosing-the-best-open-source-php-cms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Building Optimized, SEO Friendly XHTML Templates</title>
		<link>http://netnewmedia.com/optimized-seo-html-templates/</link>
		<comments>http://netnewmedia.com/optimized-seo-html-templates/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 13:54:15 +0000</pubDate>
		<dc:creator>Martin Przybyla</dc:creator>
				<category><![CDATA[HTML/XHTML]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://netnewmedia.com/?p=1</guid>
		<description><![CDATA[Depending on which sector your business is in, or what topics your site or blog deals with, your SEO strategy (or lack of one) could be what determines whether your site receives traffic or not, and therefore whether or not it is successful.  I hear a lot about the title tag, meta keywords, meta descriptions, internal and external linking, and body copy optimization.  But if you are in a highly competitive market, most top-20 sites probably already have these elements optimized.  So how could you gain further advantage over your competitors?]]></description>
			<content:encoded><![CDATA[<p>Depending on which sector your business is in, or what topics your site or blog deals with, your SEO strategy (or lack of one) could be what determines whether your site receives traffic or not, and therefore whether or not it is successful.  I hear a lot about the importance of the title tag, meta keywords, meta descriptions, internal and external linking, and body copy optimization.  But if you are in a highly competitive market, most top-20 sites probably already have these elements optimized.  So how could you gain further advantage over your competitors?<br />
<span id="more-1"></span><br />
One overlooked aspect of Search Engine Optimization is HTML/XHTML template structure.  There is some debate over how important HTML structure is in search results, and it certainly is not going to &#8220;make or break&#8221; your site&#8217;s results.  This is obvious just because of the shear number of absolutely awful table-based layouts that make the top-20 results on most Google Searches.  But I&#8217;ve built many high profile sites in highly competitive markets, such as the hospitality and tourism industry, and my experience is that Search Engines like lightweight, semantic, optimized markup and generally clean code.</p>
<p>Like most developers who have been coding for some time,  I have my own framework/base templates that I use to start most standard layouts.  It looks something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #00bbdd;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">html</span> xmlns<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.w3.org/1999/xhtml&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/html; charset=utf-8&quot;</span> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Content-Type&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">title</span>&gt;</span>Your Site - Your Location - Your Tagline<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">title</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;keywords&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Your site purpose, Your Location, Your other keywords...&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;description&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Your site in your location, the rest of your description...&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;copyright&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #808080; font-style: italic;">&lt;!-- Load Styles --&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.yoursite.com/templates/yourtemplates/css/template.home.css&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>			
	<span style="color: #808080; font-style: italic;">&lt;!-- Libraries &amp; Scripts --&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.yoursite.com/templates/yourtemplates/css/jquery.min.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;your_page&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;your_page_type&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;container&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h1</span>&gt;</span>Your Business in your Location – Your Services<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h1</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;branding&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.yoursite.com/default-en.html&quot;</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;logo&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.yoursite.com/templates/yoursite/images/logo.png&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Your Site&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end branding --&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;language-list&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.yoursite.com/default-en.html&quot;</span>&gt;</span>English<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.yoursite.com/default-es.html&quot;</span>&gt;</span>Spanish<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end language-list --&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;main-content&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>Your Secondary Title<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>More paragraph content here...<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>Another Secondary Title<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>More paragraph content here...<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end main content --&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;main-menu&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>First Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Second Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end main menu --&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;additional-content&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>Third Level Title<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h3</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>More Content...<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end additional content --&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sidebar&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end sidebar --&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;footer&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;copyright&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bottom-menu&quot;</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>First Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Second Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end footer --&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end container --&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></pre></div></div>

<p>There are several points here to take into consideration:</p>
<ul>
<li>Use as little markup as necessary to create the template structure, later styling and moving content around with CSS</li>
<li>Use semantic markup that follows a logical order, as if you were writing an essay</li>
<li>Make sure you have only one <code>H1</code> heading, this is the main heading for the entire page, and the rest of your headings should reflect the importance they have relative to this</li>
<li>Make sure the content, or &#8220;meat&#8221; of your page is as high up in the code as possible so spiders can find it as quickly as possible (this requires optimizing the <code>head</code> and making css and js files external</li>
<li>Place menus (including main-menus) below the main content of the page, or include a method for skipping the menu and going straight to the content
</ul>
<p>The result of all these techniques is that you end up with a page that is as light as possible, loads quickly, and and when you switch off css styles, the page itself follows a very logical structure and is more readable (this is great for screen readers as well, making the site more accessible).</p>
<p>The trick, of course, is to then style this page using CSS to fit a wide variety of possible designs.  Keeping the <code>H1</code> and the main content of your page at the top of the markup, when perhaps in the design it is at the very bottom of the page, is a great way to take your CSS to the limit.</p>
]]></content:encoded>
			<wfw:commentRss>http://netnewmedia.com/optimized-seo-html-templates/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

