Promovare Blog - Gratuita!

Monday, August 2, 2010

The very beginning of a HTML site

Hi,again :)
To make the beginning of a HTML site,you must use the next tags:
<html> and <body>

<html> marks the very beginning of your html site.Without it,the code won't work.
<body> marks the beginning of what your website conains.If you don't use this,it won't look alright.
After all of this,you'll need to use the tags:
<title> and </title>

<title> is the name that will appear at the browser.Instead of Untitled - Mozilla Firefox,it will appear Whatever you put between <title> and </title> - Mozilla Firefox.
</title>is the end of the <title> tag.The "/" marks the  end of a tag.
So yea,you need to write something between <title> and </title>.
After you have done all this,you must imput the CSS style.For this you'll use
<style> and </style> tags.You will put the CSS between the two tags.

Site containing;
You'll have to use div class.
What's that?Well,it's just a way to sort the containers.
Example : <div class = main> </div> will contain a big window that appears on your site.(The appearance of the window it's edited in the CSS)

Ending :
You must end by closing the two tags you used at beginning.
Yup,the <html> and <body> tags need to be closed.For this you'll use
</body> and </html>
Now,this is how everything should look like:


<html>
<body>
<title>Title here</title>
<style>
CSS goes in here.
</style>
<div class = main>
</div>
</body>
</html>

See you soon with more tutorials :)
P.S.:As soon as we get more members,I'll release a .html file to show you guys what's all about.So hurry up and get some people:)

No comments:

Post a Comment