Building a template file:

Jorge Blanco
Webmaster

Other articles written by this author

Building a template file.
By Jorge Blanco

STEP 2: Startup Code

If you have Dreamweaver in the default setup, it will automatically create a new HTML file as soon as the program loads, if you followed STEP 1 and clicked the CODE(<>) tab you will see 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>

(We will start from there, so if you are using Notepad instead, copy the above code.)

The <!DOCTYPE> tag is used to establish the DTD you will use. For beginners let's just say that it states the version of HTML you will be using, in this example is HTML 4.01 Transitional, that means it is not a strict DTD; meaning that it will tolerate some deprecated tags like <center> or <font>.

Next you need to substitute the <title>...</title> line with your page's title. Here I put <title>JBSWARD</title>.

The line with the <meta> tag only states the current charset to use. iso-8859-1 is the standard for the Occidental alphabet.

<Previous Index Next>


Rating: 3

Affiliates





Spoono

Join Us