Forum Moderators: phranque

Message Too Old, No Replies

What doctype is Frontpage 2002

I need the doctype script!

         

windwalker

4:45 pm on Oct 5, 2007 (gmt 0)

10+ Year Member



Hi folks,
I was verifing a webpage of mine written in Frontpage 2002 (Frontpage xp) and the verification engine said I need a doctype script at the top...

What is the correct doctype for Frontpage 2002?

Thanks!

jimbeetle

5:54 pm on Oct 5, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



That's one of the things you have to consider before starting to author a page. Unfortunately, FP apparently assumes you know this, so doesn't ask, nor does it provide a default Doctype.

I assume that you used FP right out of the box, so the best bet is Html 4.01 Transitional [w3.org]:

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

Or, if you used frames, you'll want the frameset DTD [w3.org]:

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

Note that everything between the angled brackets is actually one declaration and can be on one line, but is routinely displayed as two lines for clarity.