<?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>devexp &#187; lessons</title>
	<atom:link href="http://www.devexp.eu/tag/lessons/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devexp.eu</link>
	<description>DEVelopment EXPerience, shared with the world!</description>
	<lastBuildDate>Fri, 28 Oct 2011 12:07:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>basic tips and tricks: 1. Basic HTML</title>
		<link>http://www.devexp.eu/2008/11/03/basic-tips-and-tricks-1-basic-html/</link>
		<comments>http://www.devexp.eu/2008/11/03/basic-tips-and-tricks-1-basic-html/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 18:02:52 +0000</pubDate>
		<dc:creator>van Rumste Kenneth</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[lessons]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.devexp.eu/?p=230</guid>
		<description><![CDATA[There seems to be a big lack of knowledge in the field of basic web design, therefore I decided to write a step-by-step web design tutorial. Every post will be a new chapter in development; I will try to give &#8230; <a href="http://www.devexp.eu/2008/11/03/basic-tips-and-tricks-1-basic-html/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>There seems to be a big lack of knowledge in the field of basic web design, therefore I decided to write a step-by-step web design tutorial. Every post will be a new chapter in development; I will try to give you a fresh view on what really matters and is interesting for starting users. We&#8217;ll start with the basics like tags in html and go on with CSS; the future will tell us how far we get. The point is to share my experience with you guys, not to teach you every detail, if you are completely fresh to HTML and CSS; you better take a look at w3schools first. (<a href="http://www.w3schools.com/">http://www.w3schools.com</a>)</p>
<p>So let&#8217;s start off with our first post: BASIC HTML</p>
<p>First off all, if you want to learn HTML and CSS, try not to use the design view of programs to often. It&#8217;s very easy to create simple pages with those design views, but you won&#8217;t learn the code, and that&#8217;s the important stuff you need to know. So let&#8217;s take a look at basic fresh html code generated by Dreamweaver:</p>
<pre class="brush: xml; title: ; notranslate">
&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;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>So what is really important in this example?</p>
<p>As you can see, html is completely built up with tags and every tag is written inside the tag it is containing to. You can see that the head and body tag are within the html tag, because the html tag is the whole page and the header and body are in it.</p>
<p>The head tags are simply to give information like the name of the page (now ‘Untitled Document&#8217;) and include the necessary files (that&#8217;s for later). The real important one is the body tag because that is what the user will see. Whatever you will write within these tags, will be displayed on the screen of the person that visits your website.</p>
<p>So if we write &lt;body&gt;test&lt;/body&gt; the user will get an empty, blank screen with test written on it. Easy, isn&#8217;t it? So now you can write whatever you want in the page. The tricky part is the layout of the text.</p>
<p>Layout of a text is also done with the tags as they are written in the first example. So when you want to write for example this is <strong>bold</strong> this is <em>italic</em> and this is <span style="text-decoration: underline;">underlined</span>, you will have to write this:</p>
<p>This is &lt;b&gt;bold&lt;/b&gt; this is &lt;i&gt;italic&lt;/i&gt; and this is &lt;u&gt;underlined&lt;/u&gt;</p>
<p>As you can see every type of layout has its own specific layout tags b for bold, I for italic and u for underline. When using tags, be sure that you always close the tags just as in the example.</p>
<p>Like there are tags for text layout, there are also tags for line breaks and paragraphs. When you are writing long texts with paragraphs in it, always try to write your text within the &lt;p&gt;&lt;/p&gt; tags. Don&#8217;t use 2 &lt;br /&gt; tags instead; this is a very often made mistake. This is for the simple reason that &lt;br /&gt; isn&#8217;t the same as a paragraph, it doesn&#8217;t react the same way for every user, a paragraph tag does. So use your &lt;br /&gt; tags wisely within the &lt;p&gt; tags like so:</p>
<pre class="brush: xml; title: ; notranslate">

This is a long text and when we go to a new line within the paragraph we use a line break
So this will be displayed on a new line within the same paragraph

This is a second paragraph that will be displayed
</pre>
<p>This will result in:</p>
<p>This is a long text and when we go to a new line within the paragraph we use a line break<br />
So this will be displayed on a new line within the same paragraph</p>
<p>This is a second paragraph that will be displayed</p>
<p>The last thing for today is the headings which are used to display titles. Just like the paragraph tag you can use the heading tag: &lt;h1&gt;&lt;/h1&gt;&lt;h2&gt;&lt;/h2&gt;. H stands for heading and the numbers are the scale that the heading is displayed in, 1 being the biggest and 6 being the smallest.</p>
<p>That was it for today my friends, this was the easiest part, in next lessons we will talk about topics like:</p>
<p>DIV vs. Tables<br />
CSS and how to use it properly<br />
debugging and testing<br />
and much more</p>
<div class="shr-publisher-230"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.devexp.eu/2008/11/03/basic-tips-and-tricks-1-basic-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

