<?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>Ruelicke.net &#187; HTML</title>
	<atom:link href="http://www.ruelicke.net/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ruelicke.net</link>
	<description>...when coding passion, gaming addiction, Internet surfing syndrome and the real life collide...</description>
	<lastBuildDate>Mon, 05 Apr 2010 17:11:25 +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>Useful Tools for validating HTML, CSS and Accessibility</title>
		<link>http://www.ruelicke.net/2007/09/15/useful-tools-for-validating-html-css-and-accessibility/</link>
		<comments>http://www.ruelicke.net/2007/09/15/useful-tools-for-validating-html-css-and-accessibility/#comments</comments>
		<pubDate>Sat, 15 Sep 2007 08:00:39 +0000</pubDate>
		<dc:creator>Marco</dc:creator>
				<category><![CDATA[General Tips]]></category>
		<category><![CDATA[Advice]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://www.ruelicke.net/2007/09/useful-tools-for-validating-html-css-and-accessibility/</guid>
		<description><![CDATA[Who doesn&#8217;t know the situation when you release a website and within a short time you get complaints of users with browser X who say that xyz doesn&#8217;t work on the page. These days there are many browsers out there and of course you can test your page on them if you have the time. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/herbet/16237678/"><img src="http://www.ruelicke.net/wp-content/uploads/2007/09/accessibility.png" alt="Useful Tools for validating HTML, CSS and Accessibility" title="Useful Tools for validating HTML, CSS and Accessibility" class="alignleft" /></a><span class="c_letter">W</span>ho doesn&#8217;t know the situation when you release a website and within a short time you get complaints of users with browser X who say that xyz doesn&#8217;t work on the page.</p>
<p><span class="c_letter">T</span>hese days there are many browsers out there and of course you can test your page on them if you have the time. Even then there is the chance you missed one or two and then you are back at zero. Also, it is possible that a design doesn&#8217;t allow users with a disability to use the page.</p>
<p><strong>So what to do?</strong></p>
<p><span class="c_letter">F</span>irst of all it is a good advise to use valid HTML and CSS. Also make sure you don&#8217;t abuse JavaScript, Flash and Gifs. If you are reading this article, I assume I don&#8217;t have to tell you about these things&#8230;</p>
<p><strong>But how can you validate your HTML, CSS and Accessibility?</strong></p>
<p><span class="c_letter">W</span>ell, I will tell you which tools I&#8217;m using to validate my websites. These tools are not perfect, but if you use them properly you make sure that they cover each others weakness and leaving you with a valid website at the end. Also, there are some things you can&#8217;t validate by using a tool. You need to know the guidelines for <a href="http://www.w3.org/TR/xhtml1/">HTML</a>, <a href="http://www.w3.org/TR/REC-CSS2/">CSS</a> and <a href="http://www.w3.org/TR/WAI-WEBCONTENT/">Accessibility</a> (<a href="http://www.w3.org/TR/WAI-WEBCONTENT/">WCAG</a>)<span id="more-130"></span></p>
<p><img src="http://www.ruelicke.net/wp-content/themes/ruelicke/images/icon-html.png" alt="HTML Validation" title="HTML Validation" class="alignright" /><br />
<h3 style="margin-top:0;padding-top:0;">HTML Validation</h3>
<p><span class="c_letter">M</span>y major validator is the official <a href="http://validator.w3.org/">W3C validator</a>. It is always up-to-date to the latest spec&#8217;s and allows you to either test a page directly if said page is online or you upload/copy the page to the validator. You can reach the validator from any location as long as you are online, which can be very handy.</p>
<p><span class="c_letter">A</span>dditionally I&#8217;m using my Firefox for testing my websites. I have two very powerful extensions installed:</p>
<ul>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/249">HTML Validator</a> by Marc Gueury</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer</a> by Chris Pederick</li>
</ul>
<p><strong><span class="c_letter">T</span>he HTML Validator by Marc Gueury</strong> allows you to validate the page inside the browser without the need to visit a validator page like the W3C validator. The extension has 3 algorithm to validate the page.</p>
<ul>
<li>The &#8220;<em>HTML Tidy</em>&#8221; algorithm is based on the <a href="http://www.w3.org/People/Raggett/tidy/">HTML Tidy from W3C</a></li>
<li>The &#8220;<em>SGML Parser</em>&#8221; is based on the <a href="http://www.w3.org/TR/html4/sgml/intro.html">SGML reference information for HTML</a></li>
<li>The &#8220;Serial&#8221; uses both validator algorithms one after the other.</li>
</ul>
<p><span class="c_letter">T</span>he first algorithm is recommended for all while the other two are recommended for professionals. I myself prefer the Serial algorithm, but I believe you need to test which one works best for you.</p>
<p><strong><span class="c_letter">T</span>he Web Developer tool by Chris Pederick</strong> does not have a built in validator, but it allows you to easily check a page with the W3C validator. Also it allows you to easily disable scripting or it outlines your HTML elements. It has many more options and is also useful for validating your CSS or W3C.</p>
<p><img src="http://www.ruelicke.net/wp-content/themes/ruelicke/images/icon-css.png" alt="CSS Validation" title="CSS Validation" class="alignright" /><br />
<h3 style="margin-top:0;padding-top:0;">CSS Validation</h3>
<p><span class="c_letter">I</span>&#8216;m using the official <a href="http://jigsaw.w3.org/css-validator/">W3C validator</a> for validating my CSS code. It is always up-to-date to the latest spec&#8217;s and allows you to either test a page directly if said page is online or you upload/copy the page to the validator. You can reach the validator from any location as long as you are online, which can be very handy.</p>
<p><span class="c_letter">A</span>dditionally I&#8217;m using the <a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer toolbar</a>. It allows you to disable CSS if you want to. You can edit the CSS code and see the result without having to edit the original file and upload it again. You can even resize your browser window to test your layout for different resolutions.</p>
<h3 style="margin-top:0;padding-top:0;">Accessibility Validation</h3>
<p><span class="c_letter">W</span>hen writing a website I always rely on the <a href="https://addons.mozilla.org/en-US/firefox/addon/249">HTML Validator</a> extension. It tells you almost everything you need to know.</p>
<p><span class="c_letter">T</span>here are also online validators available, one of them you can easily access with the Web Developer toolbar. If it is not enough, you can always Google for other <a href="http://www.google.com/search?hl=en&#038;q=accessibility+validator&#038;btnG=Google+Search">accessibility validators</a>.</p>
<p><strong>Wrap Up</strong></p>
<p><span class="c_letter">N</span>ow you know which tools I&#8217;m using. I hope these tools will also help you. Or are you using them already? Do you know other tools you can recommend?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruelicke.net/2007/09/15/useful-tools-for-validating-html-css-and-accessibility/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Web Standards and Accessibility Guidelines used in a Blog?</title>
		<link>http://www.ruelicke.net/2007/08/29/web-standards-and-accessibility-guidelines-used-in-a-blog/</link>
		<comments>http://www.ruelicke.net/2007/08/29/web-standards-and-accessibility-guidelines-used-in-a-blog/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 18:18:52 +0000</pubDate>
		<dc:creator>Marco</dc:creator>
				<category><![CDATA[General Tips]]></category>
		<category><![CDATA[Advice]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://www.ruelicke.net/2007/08/web-standards-and-accessibility-guidelines-used-in-a-blog/</guid>
		<description><![CDATA[The majority of the Internet users should have heard about the World Wide Web Consortium or better known as W3C. The W3C is the main international standards organization for the World Wide Web (W3). It is arranged as a consortium where member organizations maintain full-time staff for the purpose of working together in the development [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.w3c.org"><img src="http://www.ruelicke.net/wp-content/uploads/2007/08/w3c_home_nb.png" alt="Web 3 Consortium" title="Web 3 Consortium" class="alignleft" /></a>The majority of the Internet users should have heard about the <a href="http://www.w3c.org">World Wide Web Consortium</a> or better known as W3C.<br />
The W3C is the main international standards organization for the World Wide Web (W3). It is arranged as a consortium where member organizations maintain full-time staff for the purpose of working together in the development of standards for the W3.</p>
<p>Or as <a href="http://www.problogdesign.com/">Michael Martin from ProBlogDesign.com</a> described it in his article <a href="http://www.problogdesign.com/general-tips/does-valid-code-help-your-blog/">&#8220;Does Valid Code Help Your Blog?&#8221;</a>:</p>
<blockquote><p>The W3C is the internet’s daddy. They created HTML, CSS, and dozens of other specifications that govern the use of the technologies that makes the internet thrive today. Valid code is code which meets their guidelines, and can be tested in a validator, such as the <a href="http://validator.w3.org/">HTML</a> and <a href="http://jigsaw.w3.org/css-validator/">CSS</a> ones.</p></blockquote>
<p>I don&#8217;t want to discuss if using valid code should be used in a blog or if it is actually helpful for a blog. To be honest, I had it in mind, but somehow <a href="http://www.problogdesign.com">ProBlogDesign.com</a> beat me to it, which is actually helpful because I can skip this part <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>To sum <a href="http://www.problogdesign.com/general-tips/does-valid-code-help-your-blog/">Michael Martin&#8217;s article</a> up I dare to say that it is useful to use valid code, or better: Web Standards, in a blog.<br />
His reasons are all great, but I have to add one more reason why you should use Web Standards: chances are higher that your blog is accessible by all humans, especially those with disabilities.</p>
<p>Less known among the Internet users is the Web Accessibility Initiative (<a href="http://www.w3.org/WAI/">WAI</a>) of the W3C. Although some webmaster and &#8220;webcoder&#8221; know and follow the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines</a> (WCAG) put together by the staff of the WAI there are way more webmaster / &#8220;webcoder&#8221; who are not following these guidelines.<span id="more-91"></span></p>
<p>I&#8217;m aware that these guidelines are not a must have for a website, however I try to write templates and websites following the WCAG as closely as possible. I&#8217;m not perfect on this part and I know that my blog template still needs to adjusted to follow the WCAG, but I&#8217;m working on it and I&#8217;m using one of the many <a href="http://www.w3.org/WAI/ER/tools/complete">WAI validators</a>.</p>
<h3>So, why I am talking about the whole accessibility thing?</h3>
<p><a href="http://www.ruelicke.net/2007/08/web-standards-and-accessibility-guidelines-used-in-a-blog/text-only-browser/" rel="attachment wp-att-92" title="Lynx - a Text-Only browser"><img src="http://www.ruelicke.net/wp-content/uploads/2007/08/lynx.thumbnail.png" alt="Lynx - a Text-Only browser" title="Lynx - a Text-Only browser" class="alignright" /></a>As you know, there are many different browsers out there. Most of them showing the nice designed content of your website, however, there are <a href="http://www.google.com/search?q=text+only+browser">text-only browsers</a> like <a href="http://lynx.browser.org/">Lynx</a>. These users won&#8217;t be able to appreciate your nice layout, but they are able to either enjoy your website or just ignore it because of it&#8217;s structure. Have a look at your website without the usage of images and CSS, does the &#8220;layout&#8221; show up in an order which allows you to easily navigate through your page? If not, I&#8217;d guess that text-only browser user will ignore your website.</p>
<p>I&#8217;m aware of the fact that text-only browser users are a minority, on most page statistics they won&#8217;t even show up, but do you really want to loose the  few percent of possible customers?</p>
<p>Aside the text-only browser users there is a minority which most people tend to ignore if not forget. I believe it is really sad and of course wrong.<br />
I&#8217;m talking about people with a disability. Yes, believe me or not, there are people browsing the Internet who are suffering from blindness or they are deaf or they have epilepsy&#8230;I could go on, but I think you get the idea.</p>
<p><img src="http://www.ruelicke.net/wp-content/uploads/2007/08/disabled_blue_badge.thumbnail.png" alt="Disabled People Sign" title="Disabled People Sign" class="alignleft" />It doesn&#8217;t require much additional time to make your template more friendly for this target group. For instance, you can avoid using animated gifs so a visitor with epilepsy can enjoy your website. Also, you can avoid the excessive usage of Flash. I know, there are people who would like to lynch me, but be honest. Can you easily navigate through a flash animation without the usage of a mouse? Not really, additionally the animation could prevent the visitor with epilepsy to visit your website at all. Last but not least, (<em>I&#8217;m pretty sure that I missed many examples</em>) are the people with some kind of color blindness, like the Red-Green-Blindness. If you use a red-green template you should make sure that either the colors are ok for people with red-green blindness or that you have at least an alternate design available.</p>
<p>Everything I mentioned here is my personal opinion. I know that it can be difficult to maintain a accessibility friendly website and I&#8217;m also aware that many major websites like <a href="http://www.amazon.com">Amazon</a> or <a href="http://www.microsoft.com">Microsoft</a> are not accessibility friendly, but maybe you can make a change.</p>
<p>Whenever I discuss this topic with other people, I hear many excuses for not following the WAI. In return, I always have a solid argument against the excuse.</p>
<h3>Bad vs. Good &#8211; The Accessibility Discussion</h3>
<ul>
<li><strong>It will take more time to finish my site!</strong><br />
<em>Not really, if you follow the WCAG right from the beginning, you will be done at the same time as you would without following it.</em></li>
<li><strong>It will make the page more ugly.</strong><br />
<em>Sorry, but you are wrong here. Actually even the average visitor can benefit from the accessibility optimized website because of the clearer navigation and so on&#8230;</em></li>
<li><strong>Those disabled don&#8217;t have to visit my site and/or shouldn&#8217;t use the Internet.</strong><br />
<em>Ignoring the fact that this is really racist, you should keep in mind that one day you could also suffer from some kind of disability. Of course, it is up</em></li>
<li><strong>Major websites like <a href="http://www.amazon.com">Amazon</a> or <a href="http://www.microsoft.com">Microsoft</a> are not following the WCAG either, so why bothering?</strong><br />
<em>True, but you know you could make a change? Just because &#8220;famous&#8221; websites are not following the WCAG doesn&#8217;t mean your website wouldn&#8217;t help to spread the word and encourage other people to optimize their own websites.</em></li>
</ul>
<p>Of course at the end it is your own decision if you try to follow <a href="http://www.w3.org/WAI/intro/wcag.php">the guidelines</a> or not. I myself will continue to optimize my website(s) into this direction.</p>
<p><strong>What about you?</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruelicke.net/2007/08/29/web-standards-and-accessibility-guidelines-used-in-a-blog/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>HTML Tutorial 103: Design with tables and CSS</title>
		<link>http://www.ruelicke.net/2007/07/31/html-tutorial-103-design-tables-css/</link>
		<comments>http://www.ruelicke.net/2007/07/31/html-tutorial-103-design-tables-css/#comments</comments>
		<pubDate>Mon, 30 Jul 2007 22:27:00 +0000</pubDate>
		<dc:creator>Marco</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://blog.ruelicke.net/2007/07/31/html-tutorial-103-design-tables-css/</guid>
		<description><![CDATA[You know how to write a valid XHTML document, however, the page is still not as nice looking as ruelicke.net or google.com or any other website out there. What I teach you today is not how to create a professional website, but it is the basic design method any web programmer started with. It is [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ruelicke.net/wp-content/themes/ruelicke/images/icon-html.png" alt="HTML - HyperText Markup Language" title="HTML - HyperText Markup Language" class="alignleft" />You know <a href="http://www.ruelicke.net/2007/04/html-tutorial-102-tags-validation/">how to write a valid XHTML document</a>, however, the page is still not as nice looking as <a href="http://www.ruelicke.net">ruelicke.net</a> or <a href="http://www.google.com">google.com</a> or any other website out there.</p>
<p>What I teach you today is not how to create a professional website, but it is the basic design method any web programmer started with.<br />
It is the old school table, but I add Cascading Style Sheets (CSS) to the table to get it a nice look.</p>
<p>But before you can start, you need to have an idea how you want to structure your page. The best thing to do is to grab a piece of paper and make a draft. As example I made a draft in a graphic program, although I prefer the paper method:<br />
<a href="http://www.ruelicke.net/2007/07/html-tutorial-103-design-tables-css/draft-for-page/" rel="attachment wp-att-59" title="Draft for a page"><img src="http://www.ruelicke.net/wp-content/uploads/html103_img01.thumbnail.png" alt="Draft for a page" /></a></p>
<p><span id="more-58"></span></p>
<p>Now let&#8217;s think about how to convert the design into HTML&#8230;<br />
You remember reading in the W3Schools reference something about &lt;table&gt;? If not, it is no problem as I explain it now <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But first let&#8217;s get the basic page code done, which is:<br />
<code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Hello world!&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;</code></p>
<p><code>&lt;/body&gt;<br />
&lt;/html&gt;</code></p>
<p>Now let&#8217;s see how we add the basic structure of the original design by using</p>
<h3>Tables</h3>
<p>To create a HTML table you need the &lt;table&gt;, &lt;tr&gt; and &lt;td&gt; tag. I will post the code I used for the table of my final example page and then I explain you the additional attributes used to modify the table:</p>
<p><code>&lt;table&gt;<br />
         &lt;tr&gt;<br />
            &lt;td colspan="2"&gt;<br />
               Hello World!<br />
            &lt;/td&gt;<br />
         &lt;/tr&gt;<br />
         &lt;tr&gt;<br />
            &lt;td&gt;<br />
               menu<br />
            &lt;/td&gt;<br />
            &lt;td&gt;<br />
               text<br />
            &lt;/td&gt;<br />
            &lt;td rowspan="2"$gt;<br />
            	 whatever<br />
            &lt;/td&gt;<br />
         &lt;/tr&gt;<br />
         &lt;tr&gt;<br />
            &lt;td colspan="2"&gt;<br />
               foot<br />
            &lt;/td&gt;<br />
         &lt;/tr&gt;<br />
      &lt;/table&gt;</code></p>
<p>Put the whole table code inside the body tags and have a look it it. I know it isn&#8217;t looking nice, but we will take care of it later.<br />
So what does the code do&#8230;<br />
<strong>the &lt;table&gt; tag</strong> defines a new table,<br />
<strong>the &lt;tr&gt; tag</strong> defines a new row in the table. If you count our &#8220;&lt;tr&gt;&#8230;&lt;/tr&gt;&#8221; you will count 3 rows,<br />
<strong>the &lt;td&gt; tag</strong> defines a new cell/column in a row. Our first row has one cell/column, the second has 3 cells/columns and the third has one cell/column again.</p>
<p>Please keep the following &#8220;method&#8221; in mind when you build a table. It served me good back when I used tables for layouts:<br />
1. define the table: &lt;table&gt;&lt;/table&gt;<br />
2. count how many rows you need and add them inside the &lt;table&gt; tags: &lt;tr&gt;&lt;/tr&gt;&lt;tr&gt;&lt;/tr&gt;&#8230;<br />
3. have a look at the first row and count how many cells/columns you need. Then insert the amount of cells you need by adding the appropriate code into the &lt;tr&gt;&lt;/tr&gt; tags: &lt;td&gt;&#8230;&lt;/td&gt;&lt;td&gt;&#8230;&lt;/td&gt;</p>
<p>If you used the above method you will see that our table doesn&#8217;t work as intended if we use my draft. So here we are using those attributes I have in my sample code already:<br />
<strong>rowspan</strong> tells the browser if a cell is stretched over multiple rows. In my example the third cell of the second row stretches over 3 rows, so we are using rowspan=&#8221;3&#8243;<br />
<strong>colspan</strong> tells the browser if a cell is stretched over multiple cells/columns. The cells of the first and the third row in our example are stretched over 2 cells/columns, meaning that the cells of the first and third row are as long as the 2 cells of the second row. We use colspan=&#8221;2&#8243; here to achieve the proper behavior.<br />
I assume it is difficult to visualize, so let me try to explain it in a different way:<br />
<strong>rowspan</strong> stretches a cell vertical while the <strong>colspan</strong> stretches a cell horizontal.</p>
<p>Now as our table is behaving the way we want it to, it is time to add some optical</p>
<h3>design with <abbr title="Cascading Style Sheets">CSS</abbr></h3>
<p>For a <a href="http://www.w3schools.com/css/css_reference.asp">full list of <abbr title="Cascading Style Sheets">CSS</abbr> properties</a> <a href="http://www.w3schools.com">visit the w3schools website</a></p>
<p>Let me show you the code of the final result of my example, using what we have learned and updated with the <abbr title="Cascading Style Sheets">CSS</abbr> I want to teach you:</p>
<p><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;<br />
&lt;html&gt;<br />
   &lt;head&gt;<br />
      &lt;title&gt;<br />
         Hello World<br />
      &lt;/title&gt;<br />
   &lt;/head&gt;</p>
<p>   &lt;body style="background:#333333;color:#FFFFFF;"&gt;</p>
<p>      &lt;table  style="background:#222222;border:1px solid #555555;width:100%;"&gt;<br />
         &lt;tr&gt;<br />
            &lt;td style="background:#999999;border:1px solid #555555;font-size:50px;font-weight:700;width:auto" colspan="2"&gt;<br />
               Hello World!<br />
            &lt;/td&gt;<br />
         &lt;/tr&gt;<br />
         &lt;tr&gt;<br />
            &lt;td style="background:#990000;border:1px solid #555555;font-size:12px;font-weight:700;text-align:right;vertical-align:top;width:180px;"&gt;<br />
               &lt;a href="http://www.ruelicke.net/2007/04/html-tutorial-101-basics/" style="color:#00FFFF;"&gt;HTML Tutorial 101:&lt;br /&gt;Basics&lt;/a&gt;<br />
               &lt;br /&gt;&lt;br /&gt;<br />
               &lt;a href="http://www.ruelicke.net/2007/04/html-tutorial-102-tags-validation/" style="color:#FFFF00;text-decoration:overline;"&gt;HTML Tutorial 102:&lt;br /&gt;Tags and Validation&lt;/a&gt;<br />
               &lt;br /&gt;&lt;br /&gt;<br />
               &lt;a href="#"&gt;HTML 103&lt;/a&gt;<br />
               &lt;br /&gt;<br />
            &lt;/td&gt;<br />
            &lt;td style="background:#009900;border:1px solid #555555;text-align:left;vertical-align:top;width:auto;"&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
               &lt;br /&gt;<br />
               This is my first website.<br />
            &lt;/td&gt;<br />
            &lt;td rowspan="2" style="width:50px;"&gt;<br />
            	 right tab, covering all 3 rows<br />
            &lt;/td&gt;<br />
         &lt;/tr&gt;<br />
         &lt;tr&gt;<br />
            &lt;td style="background:#999999;border:1px solid #555555;font-size:6px;font-weight:700;text-align:center;width:auto" colspan="2"&gt;<br />
               Goodbye World!<br />
            &lt;/td&gt;<br />
         &lt;/tr&gt;</p>
<p>      &lt;/table&gt;</p>
<p>   &lt;/body&gt;<br />
&lt;/html&gt;<br />
</code></p>
<p>I know the code is a mess on here, so I recommend you copy and paste it into a text editor to have a proper look at it <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Let&#8217;s start with the body tag. You see the attribute &#8220;style&#8221; which tells the browser that inside this attribute you are using <abbr title="Cascading Style Sheets">CSS</abbr> to modify how the page is displayed.</p>
<p><strong>background</strong> let you change the background color of the overall website. You need to use <a href="http://html-color-codes.com/">hexadecimal colors</a> although there are also named colors, like yellow or black. I recommend you <a href="http://www.google.com/search?hl=en&#038;q=hexadecimal+color">use Google to find more informations about hexadecimal colors.</a><br />
<strong>color</strong> let you change the font color of the overall website. The same as for the background color applies.</p>
<p>I also added the style attribute to the table tag as I wanted to change the style of the table. I also wanted to make the table stretch over the whole width of the browser window.</p>
<p><strong>border</strong> let you create a border around the table. I decided to use a solid 1px width border and gave it a grey color. There are some more border styles, so <a href="http://www.w3schools.com/css/css_reference.asp#border">visit the CSS reference</a> <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<strong>width</strong> let you define how broad the table is. In my case I used 100% which means that the table fills the whole browser window. Alternately you can use pixel to give a fixed size, like 800px or what you like.</p>
<p>To manipulate the style inside or of a cell itself, you again add the style attribute. Basically you can add the style attribute to any tag, except the closing tag of a tag of course.<br />
So, what did I do to my cells:</p>
<p>the cell of the first row got a<br />
<strong>font-size</strong> of 50px, which means that the size of the displayed font is 50px.<br />
The <strong>font-weight</strong> of 700 displays the text as bold.</p>
<p>the text in the first cell of the second row got<br />
aligned to the right with the proprietary: <strong>text-align</strong>. Additional to &#8220;right&#8221; you can use &#8220;center&#8221; and &#8220;left&#8221;.<br />
<strong>vertical-align:top;</strong> aligns the whole text in the cell to the top of the cell as our second cell, the one with the in it, is a lot longer. Wouldn&#8217;t we set it to the top, it would be vertical aligned in the middle, as it happens in the third cell. There are <a href="http://www.w3schools.com/css/pr_pos_vertical-align.asp">a few more vertical align behaviors</a>, <a href="http://www.w3schools.com/css/pr_pos_vertical-align.asp">have a look at them</a> and play around <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I also changed the color of the links in the cell and used <a href="http://www.w3schools.com/css/pr_text_text-decoration.asp"><strong>text-decoration</strong></a> to show you that you can change a lot more with the right style proprietaries.</p>
<p>The other cells and rows got style proprietaries I explained earlier. I just used different colors to show you how the table layout looks like, so you can compare what the attributes are doing with a cell or row or the table&#8230;</p>
<p>I hope you understood everything, so <a href="http://www.ruelicke.net/example/html/tutorial103.html">have a look at my example page</a>.<br />
If you are not able to get your page working the way you want, feel free to use the comment section to ask for help.</p>
<p>Right now I have no idea what I will do in the next tutorial, so it will be a surprise. Meanwhile, use and train what you have learned. <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruelicke.net/2007/07/31/html-tutorial-103-design-tables-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Tutorial 102: Tags and Validation</title>
		<link>http://www.ruelicke.net/2007/04/25/html-tutorial-102-tags-validation/</link>
		<comments>http://www.ruelicke.net/2007/04/25/html-tutorial-102-tags-validation/#comments</comments>
		<pubDate>Wed, 25 Apr 2007 16:34:02 +0000</pubDate>
		<dc:creator>Marco</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://blog.ruelicke.net/2007/04/25/html-tutorial-102-tags-validation/</guid>
		<description><![CDATA[So, you got the idea how the basic HTML page is build? If not, read the HTML Tutorial 101: Basics before you continue Ok, so you think your page got already some interesting content&#8230;but I bet the layout is&#8230;uhm&#8230;let&#8217;s say boring&#8230;white background and black text&#8230;depending on the server default&#8230;so, the good news is there are [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ruelicke.net/wp-content/themes/ruelicke/images/icon-html.png" alt="HTML - HyperText Markup Language" title="HTML - HyperText Markup Language" class="alignleft" />So, you got the idea how the basic HTML page is build? If not, read the <a href="http://www.ruelicke.net/2007/04/html-tutorial-101-basics/">HTML Tutorial 101: Basics</a> before you continue <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ok, so you think your page got already some interesting content&#8230;but I bet the layout is&#8230;uhm&#8230;let&#8217;s say boring&#8230;white background and black text&#8230;depending on the server default&#8230;so, the good news is there are tags which allow you to manipulate how a page is displayed.</p>
<p>Maybe you think there has to be a bad news if I only mention the good news above. Well, there are two bad news:<br />
to write valid XHTML code you need to<br />
1. learn some CSS (=Cascading Style Sheet) and<br />
2. define the DTD (=DocTypeDefinition).</p>
<p>Before you start searching my blog (or the web) for a <abbr title="CascadingStyleSheet">CSS</abbr> tutorial you should know that I will cover some basic <abbr title="CascadingStyleSheet">CSS</abbr> knowledge in this tutorial and write some <abbr title="CascadingStyleSheet">CSS</abbr> Tutorials at a later date.</p>
<p>Now, after you calmed down, let&#8217;s go on with this tutorial:</p>
<p><ins datetime="2007-07-31T11:26:43+00:00">Update:</ins> Because of the recent update of the W3C validator I&#8217;m introducing here, I had to expand the tutorial and added a couple more things at the bottom of the tutorial. <span id="more-9"></span></p>
<p>Before I start posting a list with all HTML tags and their usage/effect I just forward you to this <a href="http://www.w3schools.com/tags/default.asp">XHTML1.0 Reference at W3Schools</a> which I still use when I need to look up a specific tag.<br />
Bookmark it well, as it will be something you will use often while learning HTML.</p>
<p>Now let&#8217;s get back to our first valid HTML page:</p>
<p><code>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Hello world!&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
Hello World!<br />
&lt;br /&gt;<br />
This is my first website.<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code></p>
<p>Would you check this page with <a href="http://validator.w3.org/">the official W3.org HTML validator</a> you would get a big red error message, stating <strong>&#8220;This page is not Valid (no Doctype found)!&#8221;</strong>.</p>
<p>So, let&#8217;s add the doctype statement:</p>
<p><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Hello world!&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
Hello World!<br />
&lt;br /&gt;<br />
This is my first website.<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code></p>
<p>Maybe you now think I made a mistake since I stated earlier that the HTML-Tag tells the browser that it shall display a HTML file and you believe the &#8220;doctype&#8221; is part of the HTML page. Well, the DocumentTypeDeclaration or DTD tells the browser which kind of HTML it shall interpret&#8230;or better, which kind of specification the browser shall use for interpreting the document. I guess this is a bit confusing&#8230;just don&#8217;t think too much about it <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>There are 3 different types of the <abbr title="DocumentTypeDeclaration">DTD</abbr>: Strict, Transitional and FrameSet.<br />
As I don&#8217;t go into details of the differences I point you to <a href="http://www.w3schools.com/tags/tag_doctype.asp">the W3Schools page about the <abbr title="DocumentTypeDeclaration">DTD</abbr>s</a>.</p>
<p>The main difference between Strict, Transitional and FrameSet are that the first does not allow the use of frames and some attributes, the second one does allow some types of frames and all attributes and the FrameSet is like the Transitional except supports all frame types.</p>
<p>For this tutorial we will use the Transitional <abbr title="DocumentTypeDeclaration">DTD</abbr> although I will explain some differences to the Strict <abbr title="DocumentTypeDeclaration">DTD</abbr>. However, I will not talk about frames, as they are not used much anymore.</p>
<p>If you look back at the code I posted above, you see the DocType for Transitional. If we wanted to use the Strict one, it would be:</p>
<p><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;</code></p>
<p>Now run the code I posted above through the validator.<br />
Yes! <strong>&#8220;This Page Is Valid XHTML 1.0 Transitional!&#8221;</strong></p>
<p>Ok, we just got a valid XHTML page, so let&#8217;s keep it that way while we manipulate how it is displayed.<br />
Keep in mind, <a href="http://validator.w3.org/">the official W3.org HTML validator</a> is your best friend, so use it well (and often)!</p>
<p>Now let&#8217;s see how we can edit the style of the html page without using <abbr title="CascadingStyleSheet">CSS</abbr>.<br />
The following tags you can use to edit and structure your text:</p>
<p><strong>&lt;h1&gt;,&lt;h2&gt;,&lt;h3&gt;,&lt;h4&gt;,&lt;h5&gt;,&lt;h6&gt;</strong><br />
These tags describe a heading, &lt;h1&gt; being the top most heading and &lt;h6&gt; being the lowest heading.</p>
<p><strong>&lt;strong&gt;</strong><br />
Renders as strong emphasized text</p>
<p><strong>&lt;em&gt;</strong><br />
Renders as emphasized text</p>
<p><strong>&lt;dfn&gt;</strong><br />
Defines a definition term</p>
<p><strong>&lt;code&gt;</strong><br />
Defines computer code text</p>
<p><strong>&lt;samp&gt;</strong><br />
Defines sample computer code</p>
<p><strong>&lt;kbd&gt;</strong><br />
Defines keyboard text</p>
<p><strong>&lt;var&gt;</strong><br />
Defines a variable</p>
<p><strong>&lt;cite&gt;</strong><br />
Defines a citation</p>
<p><strong>&lt;q&gt;</strong><br />
Defines a short quotation</p>
<p><strong>&lt;blockquote&gt;</strong><br />
Defines a long quotation</p>
<p><strong>&lt;hr&gt;</strong><br />
creates a horizontal line</p>
<p><strong>&lt;del&gt;</strong><br />
Defines text that has been deleted in a document.</p>
<p><strong>&lt;tt&gt;</strong><br />
Renders as teletype or mono spaced text</p>
<p><strong>&lt;i&gt;</strong><br />
Renders as italic text</p>
<p><strong>&lt;b&gt;</strong><br />
Renders as bold text</p>
<p><strong>&lt;big&gt;</strong><br />
Renders as bigger text</p>
<p><strong>&lt;small&gt;</strong><br />
Renders as smaller text</p>
<p>I believe these tags should be enough for a start. So go ahead and play with these tags a bit. Make sure you also use <a href="http://validator.w3.org/">the official W3.org HTML validator</a> which helps you to find errors and ensures that your page stays valid.</p>
<p>I assume you now got used to those tags, so let me add one more tag, which is actually a very important one: the &lt;a&gt;-Tag (no, not the A-Team <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ).<br />
The &#8220;a&#8221; stands for anchor and is used to create links within your page and to other pages. Maybe you would like to refer to my tutorials on your website, so here is how you can do it easily:<br />
1. visit the tutorial page you would like to link to. Check the browser address field. Copy the URL in there (or write it down).<br />
2. go to your page code and add something like</p>
<p><code>&lt;a href="http://www.ruelicke.net/2007/04/html-tutorial-101-basics"&gt; Visit this great tutorial I'm currently using &lt;/a&gt;</code></p>
<p>As you see, the opening &lt;a&gt;-Tag is in front of a link text and has a &#8220;href&#8221; attribute. If you fill in a full URL, including &#8220;http://&#8221; it will link to an external page (although it could be your own website, just another page), if you only fill in something like &#8220;test.html&#8221; it will open said html-page within your website. So if your website is at &#8220;domain.com&#8221; it will open the file at &#8220;domain.com/test.html&#8221;</p>
<p>The &lt;a&gt;-Tag also allows you to link within your page, so if you have a link at the top of the page it could link to the bottom of the page, which will make the browser jump to the bottom of the page when used. To enable this, you just need to add an &#8220;id&#8221;-attribute to one of the tags at the bottom of the page, e.g.</p>
<p><code>&lt;h4 id="links"&gt;Links&lt;/h4&gt;</code></p>
<p>and give it an unique id. Meaning: you can&#8217;t use &#8220;links&#8221; as id again, at least not on the same page.</p>
<p>Now you need the internal link at the top of the page:</p>
<p><del datetime="2007-07-29T20:22:18+00:00"><code>&lt;a href="test.html#links"&gt;My Links&lt;/a&gt;</code></p>
<p>You noticed the &#8220;#links&#8221; after &#8220;test.html&#8221;?</del><br />
<ins datetime="2007-07-29T20:22:18+00:00">Correction:</ins><br />
I didn&#8217;t use these internal links, also known as hyperlinks, for a while so I made a mistake here.</p>
<p>If you have you want to link to the bottom of the same page, use <code>&lt;a href="#links"&gt;My Links&lt;/a&gt;</code> if it is on another page and you want to link to the bottom of that page use: <code>&lt;a href="page.html#links"&gt;My Links&lt;/a&gt;</code></p>
<p>The &#8220;#links&#8221; <del datetime="2007-07-29T20:22:18+00:00">after &#8220;test.html&#8221;</del> inside the href=&#8221;" <del datetime="2007-07-29T20:22:18+00:00">That</del> tells the browser to jump to the tag with the id &#8220;links&#8221; in the <del datetime="2007-07-29T20:22:18+00:00">test</del> page.</p>
<p><ins datetime="2007-07-29T20:22:18+00:00">Update:</ins> <a href="http://www.ruelicke.net/example/html/tutorial102.html">Here you can see an example page</a>.</p>
<p>Ok, I think we learned enough for today. <a href="http://www.ruelicke.net/2007/07/html-tutorial-103-design-tables-css/">In the next Tutorial I will talk about some more advanced manipulation of how the page is displayed.</a> (Yes, here will come the basic introduction to <abbr title="CascadingStyleSheet">CSS</abbr>)</p>
<p><ins datetime="2007-07-31T11:21:54+00:00"><strong>Important Update:</strong></ins><br />
After the <abbr title="Web3Consortium">W3C</abbr> updated their HTML validator, your website would not validate if you followed my tutorial so far.<br />
The validator now requires you to add one tag and one or two attributes to make the page validate. So let me tell you what you have to do&#8230;</p>
<p>1. you need to put the following attributes into the opening &lt;html&gt; tag:  xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xml:lang=&#8221;en&#8221; lang=&#8221;en&#8221;<br />
so it looks like &lt;html  xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xml:lang=&#8221;en&#8221; lang=&#8221;en&#8221;&gt;<br />
The xml:lang and the lang attribute represent the ISO language code, as example, the ISO for German is DE, for English EN and for French FR. For <a href="http://www.w3.org/International/O-charset-lang.html">a complete list of the language codes, visit this W3C page</a></p>
<p>2. you need to specify an encoding type. There are many different types, but in my tutorials I&#8217;m using the UTF-8 encoding. Add the following code after the closing &lt;/title&gt; tag, inside the head tags:<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=UTF-8&#8243; /&gt;</p>
<p>Now your website should validate properly <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruelicke.net/2007/04/25/html-tutorial-102-tags-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Tutorial 101: Basics</title>
		<link>http://www.ruelicke.net/2007/04/24/html-tutorial-101-basics/</link>
		<comments>http://www.ruelicke.net/2007/04/24/html-tutorial-101-basics/#comments</comments>
		<pubDate>Tue, 24 Apr 2007 14:46:23 +0000</pubDate>
		<dc:creator>Marco</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://blog.ruelicke.net/2007/04/24/html-tutorial-101-basics/</guid>
		<description><![CDATA[Requirements for the HTML Tutorials: - a good freeware HTML editor or at least Notepad (not recommended though) - a place to upload your files, although you can also test your HTML pages on your PC &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; What is HTML? HTML stands for HyperText Markup Language and it is the code which is used to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ruelicke.net/wp-content/themes/ruelicke/images/icon-html.png" alt="HTML - HyperText Markup Language" title="HTML - HyperText Markup Language" class="alignleft" />Requirements for the HTML Tutorials:<br />
- a good <a href="http://www.google.com/search?hl=en&#038;q=freeware+html+editor&#038;meta=&#038;aq=t&#038;oq=freeware+html">freeware HTML editor</a> or at least Notepad (not recommended though)<br />
- a <a href="http://www.007ihost.com/">place to upload your files</a>, although you can also test your HTML pages on your PC<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><strong>What is HTML?</strong><br />
HTML stands for <strong>H</strong>yper<strong>T</strong>ext <strong>M</strong>arkup <strong>L</strong>anguage and it is the code which is used to create the websites you see.</p>
<p>Since HTML4.01 is less used these days, I will only talk about XHTML1.0 from now on. For a HTML4.01 Tutorial I can only advise you to <a href="http://www.w3schools.com/html/default.asp">visit the W3Schools website</a></p>
<p><strong>So&#8230;then what is XHTML?</strong><br />
Basically it is like HTML4.01 although the &#8220;X&#8221; stands for &#8220;E<strong>X</strong>tensible&#8221;.<br />
XHTML is the latest HTML standard and consists of HTML4.01 which was reformulated in XML.</p>
<p><strong>Hey, I know HTML4.01 and I love it! Why should I use XHTML?</strong><br />
My personal opinion:<br />
XHTML is the future of webcoding and it is easier to write valid HTML code. I&#8217;m sure you know the famous info texts on older webpages, stating &#8220;Optimized for IE&#8221; or any other browser. You have less problems to write valid code as all current browsers treat XHTML the same way.<br />
No more &#8220;browser-optimizing&#8221;!<br />
Even better, XHTML is backwards compatible, meaning the page is displayed the same in IE7 and IE5 or older.</p>
<p>So switch to XHTML, it is really easy <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Well, what are the basics you should know about XHTML. Let me explain it two ways:<span id="more-6"></span></p>
<p><strong>1. HTML4.01 experienced coder</strong><br />
good (valid) code would look like this:</p>
<p><code>&lt;h3&gt;Heading&lt;/h3&gt;<br />
some text<br />
&lt;br /&gt;<br />
some more &lt;b&gt;text&lt;/b&gt;</code></p>
<p>wrong (invalid) code could look like this:</p>
<p><code>&lt;H3&gt;Heading<br />
some text<br />
&lt;br&gt;<br />
some more &lt;B&gt;text&lt;/B&gt;</code></p>
<p>So what is the difference? You can say that all tags have to be closed; the &#8220;h3&#8243; needs its closing &#8220;/h3&#8243; and tags without a closing tag, like &#8220;br&#8221; or &#8220;img&#8221; are now auto-closing, so the old &lt;br&gt; turns into &lt;br /&gt;.<br />
Also all the code is written in non-capitals. There is no &#8220;H3&#8243; or so, only &#8220;h3&#8243;.</p>
<p>That&#8217;s basically everything which is changing. Have a look at the <a href="http://www.w3schools.com/tags/default.asp">W3schools XHTML1.0 Reference</a> for more details.</p>
<p><strong>2. readers without experience with HTML</strong><br />
These tutorials are the right thing for you&#8230;I hope&#8230;so let&#8217;s get started! <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>A website consists of a four basic tags which cannot be left out or the page would not validate.<br />
These tags are:<br />
- &lt;html&gt;<br />
- &lt;head&gt;<br />
- &lt;title&gt;<br />
- &lt;body&gt;</p>
<p>Now let&#8217;s build our first website!</p>
<p><code>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Hello world!&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
Hello World!<br />
&lt;br /&gt;<br />
This is my first website.<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code></p>
<p>Create a HTML file and copy the code into it, save it and open it in your browser (e.g. Firefox)<br />
If you don&#8217;t have a HTML editor, create a new txt-file and open it with Notepad. Copy the code, save the file, then rename it to foo.html (or a name you prefere).<br />
Congratulation, you just wrote your first website!</p>
<p>So, let&#8217;s explain each tag <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The &lt;html&gt; let the browser know that you are opening a HTML file, so it interprets the code and displays your content.<br />
The &lt;head&gt; is the place where you will later add meta, link and style tags/content. I will get into more detail in another tutorial.<br />
In the &lt;head&gt; you also have the &lt;title&gt; tag. This tag allows you to give your page a title which is displayed at the upper left of your browser. Feel free to edit the &#8220;Hello World&#8221; title to something else <img src='http://www.ruelicke.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Last but not least we have the &lt;body&gt; tag. Inside the the body-tags you will write whatever you want to have on your website.<br />
If you are wondering what the  &lt;br /&gt; means, it just creates a line break, so the &#8220;Hello World!&#8221; and the &#8220;This is my first website.&#8221; are on different lines. The more &#8220;br&#8221;s you add, the more space you will get between the lines.</p>
<p>Now feel free to play with the HTML code you just learned&#8230;</p>
<p>WAIT, I almost forgot one important thing!<br />
Please make sure your code is properly nested. The html-tag is the first tag and its closing tag the last tag in the code (see the example above). After the opening html-tag follows the head-tag, with the title-tag inside. After the closing head-tag follows the body tag. Inside of it you have all your website content. Please also check the &lt;br /&gt; if it really looks like this &lt;br /&gt;.<br />
<del datetime="2007-04-25T16:34:23+00:00">I will tell you the reason for this with the next tutorial</del>, where I will talk about other common html-tags and their usage/function.<br />
I will talk about the reason in a later tutorial.</p>
<p><ins datetime="2007-07-29T20:06:52+00:00">Update:</ins> <a href="http://www.ruelicke.net/example/html/tutorial101.html">Example of the final result</a></p>
<p>Continue to: <a href="http://www.ruelicke.net/2007/04/html-tutorial-102-tags-validation/">HTML Tutorial 102: Tags and Validation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruelicke.net/2007/04/24/html-tutorial-101-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

