PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage Want to add DocType to all new HTML files by default. Can I do this?

Reply

Want to add DocType to all new HTML files by default. Can I do this?

 
Thread Tools Rate Thread
Old 05-01-2006, 01:24 PM   #1
Viken Karaguesian
Guest
 
Posts: n/a
Default Want to add DocType to all new HTML files by default. Can I do this?


Hello everyone,

I would like to add a Doctype to all new HTML documents in FP 2003.
So, when I choose File --> New --> Blank Page, I would like to include
the doctype statememt by default.

Is there a way to make this the default "new page":

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 1</title>
</head>

<body>

</body>

</html>



Thanks,

Viken K.
http://home.comcast.net/~vikenk

  Reply With Quote
Old 05-01-2006, 01:29 PM   #2
Thomas A. Rowe
Guest
 
Posts: n/a
Default Re: Want to add DocType to all new HTML files by default. Can I do this?

Yes, you have to locate the normal.tem in your FP Program folder and then edit the htm document.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"Viken Karaguesian" <vikenk@aol.com> wrote in message
news:1136471059.187362.14370@z14g2000cwz.googlegroups.com...
> Hello everyone,
>
> I would like to add a Doctype to all new HTML documents in FP 2003.
> So, when I choose File --> New --> Blank Page, I would like to include
> the doctype statememt by default.
>
> Is there a way to make this the default "new page":
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <html>
>
> <head>
> <meta http-equiv="Content-Type" content="text/html;
> charset=windows-1252">
> <title>New Page 1</title>
> </head>
>
> <body>
>
> </body>
>
> </html>
>
>
>
> Thanks,
>
> Viken K.
> http://home.comcast.net/~vikenk
>



  Reply With Quote
Old 05-01-2006, 02:52 PM   #3
Viken Karaguesian
Guest
 
Posts: n/a
Default Re: Want to add DocType to all new HTML files by default. Can I do this?

Thanks Thomas,

Worked like a charm! :>)


Viken K.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off