Creating a Basic Page
Tags
Tags are html instructions that code for
something. They are enclosed by < > and must always
be opened and closed. A closing tag has a backslash infront
of the instruction. For example a set of table tags look
like this:
<table> </table>
Anything between the two tags means that is is included in the table.
Basic Tag Set
If you are using Dreamweaver, when you select a new document, the basic tags
automatically appear. If making the website using raw html,
enter the following code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
</body>
</html>
This tells the Internet what sort of page you have created
and is needed for any page that is on the net. The title
of the webpage is entered between the tags <title>
and </title>. The title will not appear on the site,
but search engines use it to rank your site.
The content of the webpage is added between the <body>
and </body> tags. (This is where the page is automatically
entered if you are using dreamweaver.)
Background
The background colour is usually kept the same between each page of the website.
To enter the background colour using Dreamweaver:
Go to Modify => Page Properties. This brings up the page
properties window. In this window you can select a background
colour by clicking on the square next to the word background.
This brings up a square grid of colours you can choose from.
Alternatively, you can click on the coloured circle just
above these colours and choose a colour from the graduated
selection. Click OK to apply this colour to your page.
If using raw html, add a background colour by inserting
bgcolour= the required colour code within the body tag.
The html coding for the background colour of this page is:
<body bgcolor="#FFFFFF">
Web Design Guide (home)
| Adding Text (next)
|