Lesson 3 - what should you know about templates?
Posted: Jun. 18
Usually we have lots of questions about templates, so let's clear those up right now.
What exactly is a template?
A template is simply a shortcut file used as a starter file for your web pages. It will often contain consistent formatting for fonts or colors. It might contain a common navigation bar if you choose not to use frames on your web site.
How do I get a template?
You simply make one page of your web site - the one you like best or the one you use most often - and save that as a file with the formatting you want to keep consistent across all the pages of your web site. Open the template you have made, then save it with a new file name - thus, the original remains intact and you can keep reusing it.
What does a template contain?
A template can contain anything you like but a typical HTML page must contain these elements, so you can start with this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
Does this help everyone?
Virginia
|