<?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>J-Henderson &#187; HTML</title>
	<atom:link href="http://www.j-henderson.co.uk/tag/html_tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.j-henderson.co.uk</link>
	<description>PHP &#38; HTML Tutorial site</description>
	<lastBuildDate>Sun, 24 Jan 2010 18:03:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using tables for your content</title>
		<link>http://www.j-henderson.co.uk/2010/01/using-tables-for-your-content/</link>
		<comments>http://www.j-henderson.co.uk/2010/01/using-tables-for-your-content/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 14:09:26 +0000</pubDate>
		<dc:creator>J-Henderson</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[organisation]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[TUTORIALS]]></category>

		<guid isPermaLink="false">http://www.j-henderson.co.uk/?p=25</guid>
		<description><![CDATA[In more traditional websites tables were used to layout the entire website. This method of using tables has now been replaced with CSS, even though CSS is very powerful there are some things you will want to use tables for.
Lets have a quick look and see what the code for a standard table will look ]]></description>
			<content:encoded><![CDATA[<p>In more traditional websites tables were used to layout the entire website. This method of using tables has now been replaced with CSS, even though CSS is very powerful there are some things you will want to use tables for.</p>
<p>Lets have a quick look and see what the code for a standard table will look like.</p>
<pre>
<code>&lt;table border="1"&gt;
  &lt;tr&gt;
    &lt;td&gt;
      First Table cell
    &lt;/td&gt;
    &lt;td&gt;
      Second Table cell
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
      2nd Row, First Table cell
    &lt;/td&gt;
    &lt;td&gt;
      2nd Row, Second Table cell
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;</code>
</pre>
<p>The Code above will produce the table below:</p>
<table border="1">
<tr>
<td>
      First Table cell
    </td>
<td>
      Second Table cell
    </td>
</tr>
<tr>
<td>
      2nd Row, First Table cell
    </td>
<td>
      2nd Row, Second Table cell
    </td>
</tr>
</table>
<p>Now there is quite a bit here lets take a look at our tags:</p>
<p><strong><code>&lt;table&gt;</code>:</strong> The begining of our table, within this tag we can set a few variables such as border, cellspacing and cellpadding, in this example we have set the border to a width of 1 pixel.</p>
<p><strong><code>&lt;tr&gt;</code>:</strong> This tag is used to mark the begining of a row.</p>
<p><strong><code>&lt;td&gt;</code>:</strong> Begining of a table cell, traditionally our content that we wish to display will go after this tag before the end of the cell.</p>
<p><strong><code>&lt;/td&gt;</code>:</strong> End our cell.</p>
<p><strong><code>&lt;/tr&gt;</code>:</strong> End of our Row. </p>
<p><strong><code>&lt;/table&gt;</code>:</strong> And finally the end of our table.</p>
<p>There are a few more things you can do with tables, what if you wish for part of your content to span accross your table? well we can use a colspan value, as demonstrated below:</p>
<pre>
<code>&lt;table border="1"&gt;
  &lt;tr&gt;
    &lt;td colspan="2"&gt;
      First Table cell
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
      2nd Row, First Table cell
    &lt;/td&gt;
    &lt;td&gt;
      2nd Row, Second Table cell
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;</code>
</pre>
<p>The above code will give us the following result:</p>
<table border="1">
<tr>
<td colspan="2">
      First Table cell
    </td>
</tr>
<tr>
<td>
      2nd Row, First Table cell
    </td>
<td>
      2nd Row, Second Table cell
    </td>
</tr>
</table>
<p>The colspan attribute tells your browser that the cell should span by a specified amount, the easiest way to think of this is to think of the &#8220;merge cell&#8221; feature in Microsoft Excel. There are a few other tags you can use with tables i will very quickly go over them here:</p>
<p><strong><code>&lt;th&gt;</code> &#038; <code>&lt;/th&gt;</code>:</strong> These tags are used in place of the <code>&lt;td&gt;</code> &#038; <code>&lt;/td&gt;</code> tags, and denote a <em>T</em>able <em>H</em>eader.</p>
<p>we also have the use of <code>&lt;thead&gt;</code>, <code>&lt;tbody&gt;</code> and <code>&lt;tfoot&gt;</code>, these tags are used after <code>&lt;table&gt;</code> but before <code>&lt;tr&gt;</code>, each marks what content should go where, top of the table, main content or the foot of the table, each tag has its corresponding end tag <code>&lt;/thead&gt;</code>, <code>&lt;/tbody&gt;</code> and <code>&lt;/tfoot&gt;</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.j-henderson.co.uk/2010/01/using-tables-for-your-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Your first HTML page</title>
		<link>http://www.j-henderson.co.uk/2010/01/6/</link>
		<comments>http://www.j-henderson.co.uk/2010/01/6/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 20:27:28 +0000</pubDate>
		<dc:creator>J-Henderson</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[first page]]></category>
		<category><![CDATA[TUTORIALS]]></category>

		<guid isPermaLink="false">http://www.j-henderson.co.uk/?p=6</guid>
		<description><![CDATA[Hello and welcome to the first tutorial for this site, here i will be delving into what i consider to be the foundation of all web design, HTML.
What is HTML?
HTML Stands for HyperText Markup Language. This language is interpreted by Web Browsers and is the main backbone of the internet, You can view the HTML ]]></description>
			<content:encoded><![CDATA[<p>Hello and welcome to the first tutorial for this site, here i will be delving into what i consider to be the foundation of all web design, HTML.</p>
<p><strong>What is HTML?</strong></p>
<p>HTML Stands for HyperText Markup Language. This language is interpreted by Web Browsers and is the main backbone of the internet, You can view the HTML in this page by right-clicking and choosing &#8216;View Source Code&#8217;. If you wish to know more about HTML you can find more information here.</p>
<p><strong>Your First Page</strong></p>
<p>Now since your here im guessing you cant wait to get your feet wet. Well all you need to start learning html is this guide and Notepad, now open a new notepad document and copy the code below.</p>
<pre>
<code>&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;My Page &lt;/title&gt;
  &lt;/head&gt;

  &lt;body&gt;
    &lt;h1&gt;My first webpage!&lt;/h1&gt;
      &lt;p&gt;Main content.&lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;</code>
</pre>
<p>Now to save your text document simply goto &#8216;file > save as&#8217; then make sure that the drop down box &#8216;Save as Type&#8217; has &#8216;All Files&#8217; selected. Now just save the document as &#8216;index.html&#8217; without the quotes. Now if you double click the file you just created you will see the page you just created in your default web browser.</p>
<p><strong>Now then what exactly does the code mean? </strong></p>
<p>well <code>&lt;HTML&gt;</code> denotes the begining of our html page, this tag also tells the browser that this is a Hypertext Markup Language document, next we have the <code>&lt;head&gt;</code> tag this does not show any content on the page however this is where our Meta Information, title and javascript would go. The <code>&lt;title&gt;</code> tag denotes the begining of our title which will show on the title bar of the browser, the <code>&lt;/title&gt;</code> tag simply tells the browser where the title ends. next we need to end the head using <code>&lt;/head&gt;</code> and start the main body of the page using <code>&lt;body&gt;</code> the body will contain all of the important stuff that we want to show on our page. Inside the body we have created a header for our content using the <code>&lt;h1&gt;</code> and <code>&lt;h2&gt;</code> tags, next we have a paragraph denoted by <code>&lt;p&gt;</code> and <code>&lt;/p&gt;</code>, and eventually we simply end the body and our page using the <code>&lt;/body&gt;</code> and <code>&lt;/html&gt;</code> tags.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.j-henderson.co.uk/2010/01/6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
