Site hosted by Angelfire.com: Build your free website today!
Samantha Coaker's HTML Tutorials

Back | Contact



The basics of a page


<html>

<head>

<title><title>

</head>

<body>



</body>

</html>


Above is the basic layout for a HTML document. I'll break it down.

<html>

This tag, while it'll all work perfectly fine without it, basically tells the browser that it is the start of the HTML document. It's good practise to do this. Close this tag, </html>, at the end of the document.

<head>

This is the first half of your HTML document. Inside this tag you can place info on the page such as your title tags and meta data. Some scripts may require half to be entered here. </head>

<title>

To be placed inside the head tags. The text you enter between these tags is displayed at the top of your browser. Titling the page.</title>

<body>

The second part of your HTML document is contained between these tags. Its main body that will display in your browser. Here is where you enter...eveything else, formatted text, tables etc etc etc.</body>

Tutorials © Samantha Coaker