Basics: HTML
Create a Page Template
| Create Your Web Site Folders | When you begin
to create a new web site, first create the folders that will house the
web page files and the web page images.
|
|
![]() |
||
|
![]() |
|
| You now have a folder called homepage on your diskette and a folder called images within your homepage folder. | ||
| All of the document
files for the pages in your web site should be saved to your homepage
folder.
All of the graphic images that will appear on your pages should be saved to the images folder inside your homepage folder. |
||
| Create your Web Page Template | A template is a model page that you can use as a starting point for your work. | |
| Every web page contains some very basic HTML code that tells the browser some essential information. | ||
| To save yourself
the trouble of constantly recreating this basic code, create a template
file that you can use over and over again as the starting point for
all of the pages in your web site.
To create a basic web page template:
|
Review: | |
|
Use the Template
to Create a Web Page |
To create a web
page with the template file:
|
NOTE: Set the File of Type dropdown box to show All Files. |
| Ex: <TITLE>My First Web Page</TITLE> | ||
| Save a File | Now save the
file.
|
NOTE: When you are ready to create your first real home page, name the file default.htm |
You should now have two files
in your homepage: your HTML template and the file in which you will
create your first web page. To check, do the following:
|
||
| As you develop
the navigation bar, address footer, and colors for your page background,
text, and links add these elements to your template.htm
file. Continue to save the file as template.htm.
When you want to create a web page that contains the navigation bar, address footer, and other elements that are in your template file:
Because you used the File, Save As command, your original template.htm file still exists to be reused whenever you want to create another new page with the same basic elements. |
||
Basics: HTML
Create a New
Page
Enter and Format Text
Add Headlines and Horizontal Rules
Add a Title and an Address Footer
Save and Preview a Page
Create a Page Template
Web Design Center
Last Revised:
October 19, 2006
© Agatha Taormina