From OST
Jump to: navigation, search
(Head)
(Head)
Line 21: Line 21:
  
 
:
 
:
<head>  
+
  <html>
 
+
  <head>
<title> This is where the title of my website goes </title>
+
  <title> This is where the title of my website goes </title>
 
+
  </head>
</head>
+
  </html>
  
 
==Body==
 
==Body==

Revision as of 02:53, 10 December 2009

This is a simple guide to you can use to build your first website.

Setting the Doctype

Setting your document type is the first step in creating a website. Setting the doctype tells your web browser how to process the information the web page. This is an example of seting the doctype to HTML transitional:

 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


HTML tags

The easiest way to understand web design is to think of your website as a human being. HTML is the skeleton of that human being. Start your website by opening notepad (or your favorite text editory) and type in these tags.

<html>

</html>

Head

The Head of your website is where the logic your website goes. Everything within the head of your website goes inside of <head> tags. Here you can set the title of your website with the title tags:

 <html>
 <head> 
 <title> This is where the title of my website goes </title>
 </head>
 </html>

Body