<?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>Hosted Web Official Blog &#187; HTML Tutorials</title>
	<atom:link href="http://www.hostedweb.co.uk/blog/category/html-tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hostedweb.co.uk/blog</link>
	<description>Its all about the web</description>
	<lastBuildDate>Wed, 21 Apr 2010 10:28:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Basics: How to create a DIV</title>
		<link>http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/</link>
		<comments>http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 09:15:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Tutorials]]></category>
		<category><![CDATA[div]]></category>

		<guid isPermaLink="false">http://www.hostedweb.co.uk/blog/?p=1380</guid>
		<description><![CDATA[We always start a div tag like this: &#60;div id=&#8221;divname&#8220;&#62; This is the opening tag, which needs to include the ID (name) or class. If you are only having a single div of this style then it would only require an ID, if you were going to style lots of DIVS the same then you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.hostedweb.co.uk%2Fblog%2Fbasics-how-to-create-a-div%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.hostedweb.co.uk%2Fblog%2Fbasics-how-to-create-a-div%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>We always start a div tag like this:</p>
<p>&lt;<strong>div</strong> <strong>id</strong>=&#8221;<strong>divname</strong>&#8220;&gt;</p>
<p>This is the opening tag, which needs to include the ID (name) or class. If you are only having a single div of this style then it would only require an ID, if you were going to style lots of DIVS the same then you would give it a class. What ever you use, be it a class or an ID make sire you call it something useful. For example, if its a login box you would call it <strong><em>loginbox</em></strong>. We will set up the class for the div in a few moments. First you need to close the div on your page. Make sure you close it after any content that it needs to contain. For example, if its  a login box as mentioned above, you would open the div, enter the login box html, then close the div.</p>
<p><strong>Style it!</strong><br />
Now you&#8217;ve got a div, but it doesn&#8217;t look like anything. So lets style it! I am going to give my login box height, width, a border and a background color.</p>
<p><strong>}<br />
<em>#loginbox<br />
</em></strong>height:200px;<br />
width:200px<strong>;<br />
</strong>border:1px solid #999999<strong>;<br />
</strong>background-color:#EEEEEE<strong>;</strong><br />
<strong>}</strong></p>
<p>I have highlighted the main parts that you need to make sure are included. Hopefully the styles are self explanatory with the exception of the border which has multiple values..1px solid #999999. The 1px is the border line width, solid is the type of border (e.g solid,dashed etc..) #999999 is the color of the border.</p>
<p>I hope this helps you create a div !</p>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/&amp;title=Basics%3A+How+to+create+a+DIV" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Basics%3A+How+to+create+a+DIV+-+http://b2l.me/f8p4s&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/&amp;title=Basics%3A+How+to+create+a+DIV" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/&amp;title=Basics%3A+How+to+create+a+DIV&amp;desc=We%20always%20start%20a%20div%20tag%20like%20this%3A%0D%0A%0D%0A%26lt%3Bdiv%20id%3D%22divname%22%26gt%3B%0D%0A%0D%0AThis%20is%20the%20opening%20tag%2C%20which%20needs%20to%20include%20the%20ID%20%28name%29%20or%20class.%20If%20you%20are%20only%20having%20a%20single%20div%20of%20this%20style%20then%20it%20would%20only%20require%20an%20ID%2C%20if%20you%20were%20going%20to%20style%20lots%20of%20DIVS%20the%20same%20then%20you%20would%C2%A0give%20it%20a%20c" rel="nofollow" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/&amp;bm_description=Basics%3A+How+to+create+a+DIV&amp;plugin=sexybookmarks" rel="nofollow" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/&amp;title=Basics%3A+How+to+create+a+DIV" rel="nofollow" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/&amp;title=Basics%3A+How+to+create+a+DIV" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/&amp;title=Basics%3A+How+to+create+a+DIV" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.hostedweb.co.uk/blog/basics-how-to-create-a-div/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prepair your web page for the Google monster!</title>
		<link>http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/</link>
		<comments>http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 14:36:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Tutorials]]></category>
		<category><![CDATA[SEO Tutorials]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.hostedweb.co.uk/blog/?p=1355</guid>
		<description><![CDATA[Preparing your web site for the big search engines can seem daunting, your constantly told that you need to be in Google to stand any chance of receiving visitors but how does it all work? What does Google want you to do?! In this article i will outline the very basic requirements that Google and [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.hostedweb.co.uk%2Fblog%2Fprepair-your-web-page-for-the-google-monster%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.hostedweb.co.uk%2Fblog%2Fprepair-your-web-page-for-the-google-monster%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Preparing your web site for the big search engines can seem daunting, your constantly told that you need to be in Google to stand any chance of receiving visitors but how does it all work? What does Google want you to do?! In this article i will outline the very basic requirements that Google and other top search engines expect from you. This will at least get you started on the road to success.</p>
<h2>Page title</h2>
<p>Your web page title is the most important part of your site.  Think of of your web page as a word document that you have wrote about a specific subject. The title tells the reader what the letter is about before they read it. Google reads your web site in exactly the same way, and your title tells Google what your web page is all about. </p>
<p><em><strong>Example</strong></em> &lt;title&gt;UK Web Hosting Services, Domain Registration&lt;/title&gt;</p>
<p>In the above example, our title is short and sweet, tells the user that we offer UK based web hosting services and domain registration. Its best not to include stop words like it, and, is, etc.. just include the words your looking to target. If your using multiple words use a wild card like | or full stop between your words.</p>
<h2>Meta tags</h2>
<p>After your title, there are some basic meta tags that should be present within your web sites &lt;head&gt; tags, these are &lt;keywords&gt; and &lt;description&gt;.  Below is an example of how your overall head tag should look.</p>
<p>&lt;head&gt;<br />
&lt;title&gt;UK Web Hosting Services, Domain Registration&lt;/title&gt;<br />
&lt;meta name=&#8221;keywords&#8221; content=&#8221;uk web hosting, domain registration&#8221; /&gt;<br />
&lt;meta name=&#8221;description&#8221; content=&#8221;Quality UK web hosting and domain registration services.&#8221; /&gt;<br />
&lt;/head&gt;</p>
<p>When you have these tags in place, remember to keep your web sites content relevant. For example, don&#8217;t use the keyword plumbing when your web site is all about shoes!</p>
<p>Follow these rules and your web site should at least rank somewhere in Google for your chosen keywords. Just remenber to add new content as often as possible, this feeds Google and it loves new and fresh content!</p>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/&amp;title=Prepair+your+web+page+for+the+Google+monster%21" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Prepair+your+web+page+for+the+Google+monster%21+-+http://b2l.me/f8p5f&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/&amp;title=Prepair+your+web+page+for+the+Google+monster%21" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/&amp;title=Prepair+your+web+page+for+the+Google+monster%21&amp;desc=Preparing%20your%20web%20site%20for%20the%20big%20search%20engines%20can%20seem%20daunting%2C%20your%20constantly%20told%20that%20you%20need%20to%20be%20in%20Google%20to%20stand%20any%20chance%20of%20receiving%20visitors%20but%20how%20does%20it%20all%20work%3F%20What%20does%20Google%20want%20you%20to%20do%3F%21%20In%20this%20article%20i%20will%20outline%20the%20very%20basic%20requirements%20that%20Google%20and%20ot" rel="nofollow" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/&amp;bm_description=Prepair+your+web+page+for+the+Google+monster%21&amp;plugin=sexybookmarks" rel="nofollow" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/&amp;title=Prepair+your+web+page+for+the+Google+monster%21" rel="nofollow" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/&amp;title=Prepair+your+web+page+for+the+Google+monster%21" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/&amp;title=Prepair+your+web+page+for+the+Google+monster%21" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.hostedweb.co.uk/blog/prepair-your-web-page-for-the-google-monster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design your web page using SSI</title>
		<link>http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/</link>
		<comments>http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 16:58:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Tutorials]]></category>
		<category><![CDATA[SSI]]></category>

		<guid isPermaLink="false">http://www.hostedweb.co.uk/blog/?p=1349</guid>
		<description><![CDATA[SSI or Server Side Includes can save a web designer lots of time and stress. Our website has been developed partially using SSI, the header and footer of the site is the same for each page, only the content of the page changes as you navigate. This means that when we change our sites header [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.hostedweb.co.uk%2Fblog%2Fdesign-your-web-page-using-ssi%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.hostedweb.co.uk%2Fblog%2Fdesign-your-web-page-using-ssi%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>SSI or Server Side Includes can save a web designer lots of time and stress. Our website has been developed partially using SSI, the header and footer of the site is the same for each page, only the content of the page changes as you navigate. This means that when we change our sites header or footer the whole website is updated at the same time, nifty ay?</p>
<h2>How we created our header</h2>
<p>We started off by creating our header, you will need everything from the &lt;HTML&gt; opening tag down to the &lt;BODY&gt; start tag. For example;<br />
<span style="color: #888888;"><br />
&lt;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01//EN&#8221; &#8220;http://www.w3.org/TR/html4/strict.dtd&#8221;&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=utf-8&#8243;&gt;<br />
&lt;title&gt;&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;</span></p>
<p>This will form the header of our website, so we included our menu after the body tag. When you have this code, you need to save it. Create a folder called <strong>includes</strong> within your web sites root (this is where your included content will go). Save the header file as header.<strong>shtml</strong><br />
<span style="color: #000080;"><br />
<strong>*Note that all of  your html files need to be saved as .SHTML which tells the server that your working with SSI.</strong></span></p>
<h2>Then our footer</h2>
<p>Once you have saved your header we need to create your footer, which is done by taking the code from &lt;/BODY&gt; down to &lt;/HTML&gt; which is the end of your html document, for example;</p>
<p><span style="color: #888888;">&lt;/body&gt;<br />
&lt;/html&gt;</span></p>
<p>Again we wanted to include our footer menu here so we added this before the closing body tag. Save this footer into your includes folder just as you did with the header.</p>
<h2>And finally content pages</h2>
<p>Once this has been done you can start creating your sites content pages. These will be simply all of the content that would normally be within your body tags. The first line of each content page needs to call the HEADER, to do this simply type</p>
<p>&lt;!&#8211;#include file=&#8221;includes/header.shtml&#8221; &#8211;&gt;</p>
<p>This will call the header so that it appears at the top of your site. Do the same on the last line of your document with the footer.shtml. Once this has been done save the content page as you would a normal web page, for example if it is your homepage call it index.shtml. Save all of your content pages to your sites root folder.<br />
<strong><span style="color: #000080;"><br />
*Note, when designing using SSI you will only ever be able to see your complete site when its on the server or within a web development program such as dreamweaver. This is because SSI is for the server so your home pc wont perform the tasks.</span></strong></p>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/&amp;title=Design+your+web+page+using+SSI" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Design+your+web+page+using+SSI+-+http://b2l.me/f7pnq&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/&amp;title=Design+your+web+page+using+SSI" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/&amp;title=Design+your+web+page+using+SSI&amp;desc=SSI%20or%20Server%20Side%20Includes%20can%20save%20a%20web%20designer%20lots%20of%20time%20and%20stress.%20Our%20website%20has%20been%20developed%20partially%20using%20SSI%2C%20the%20header%20and%20footer%20of%20the%20site%20is%20the%20same%20for%20each%20page%2C%20only%20the%20content%20of%20the%20page%20changes%20as%20you%20navigate.%20This%20means%20that%20when%20we%20change%20our%20sites%20header%20or%20foote" rel="nofollow" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/&amp;bm_description=Design+your+web+page+using+SSI&amp;plugin=sexybookmarks" rel="nofollow" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/&amp;title=Design+your+web+page+using+SSI" rel="nofollow" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/&amp;title=Design+your+web+page+using+SSI" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/&amp;title=Design+your+web+page+using+SSI" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.hostedweb.co.uk/blog/design-your-web-page-using-ssi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
