navigation
Thomas Brunt's OutFront Hosting
 
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Microsoft MVP
 

Are You Compliant?  Part III 
by Outfront Moderator Katherine Nolan (abbeyvet)
OutFront News Article: August, 2002

Creating a Compliant Template in FrontPage

When you create a new page in FrontPage you get a standard template page which is not a standards compliant page. It does not include a DTD and so you have to enter one manually on each new page. However the template can be edited.

Where the template is located may vary from system to system so you may need to root around a little to find it. On most systems it will be in:

C:\Program Files\Microsoft Office\Templates\1033\Pages\

and will be a HTML page called 'normal.tem'

Three small changes will make the page comply more closely with standards.

  1. Add a DTD to the top. Which one you chose to use is up to you, see more here
  2.  Edit the opening HTML tag to read:
    <html lang="en"> - where the language is english, if it is in another language use the appropriate language code.
  3. Change the line that reads:
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    to
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    Again this assumes your page is in a Western European Language, if you are using a different charset, perhaps Chinese or an Eastern European language you will need to use the appropriate ISO code.

While you are there you can also add anything else you would like to appear with each new page. I have edited my template so that some meta tags and a stylesheet link are automatically included, so it reads as below:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META NAME="keywords" CONTENT="">
<META NAME="description" CONTENT="">
<META HTTP-EQUIV="reply-to" CONTENT="info@inkkdesign.com">
<META HTTP-EQUIV="distribution" CONTENT="global">
<META HTTP-EQUIV="copyright" CONTENT="2002 et seq">
<link rel="stylesheet" type="text/css" href="">
</head>

<body>
</body>

</html>

Next week an intro to XHTML, the standard to which we will all soon be moving en route to XML.

<<Part II - Towards Becoming Compliant

<< Part I - Introduction to Standards Compliance


 

Fun With Background Images
Fun With Bulleted Lists
Are You Compliant?
Introduction To Cascading Style Sheets
Creating Custom Error Pages
Designing Fast Loading Sites
Creating Funky Forms With CSS
htaccess Magic
An Introduction To JavaScript
JavaScript Snippets
Getting More From Mailto
Installing And Using Perl Scripts
Preparing Photos For Your Web Site
The Popup Dilemma
Paint Shop Pro Album 4
Creating And Using robots.txt File
Creating JavaScript Rollover Buttons
 

Microsoft Corporation in no way endorses or is affiliated with "OutFront." 
OutFront is published and edited by Thomas Brunt
440 Great Circle Dr., St. Matthews, SC 29135.  803-655-6151
© 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 All Rights Reserved
Click here to view our privacy statement.