On Fri, 2003-07-11 at 06:54, Jens Meiert wrote:
> > i'm wondering why a reference to the w3.org page INSISTS on showing up > > at the tops of all MY web pages that I've built using Frontpage 2002.
Yes, sounds like the Doctype declaration. Don't worry, Elizabeth, keep it ;)
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Brian, it's you who thinks of a XHTML Doctype ;) Although never worked with FP (won't even spell it), I rather guess it generated a HTML Doctype... and I really wonder, too.
I've never even seen FP, the fact that MS makes it is enough to keep me away... ;-)
It's a doctype alright. But FP hates 'em and places them in the html body themselves.
However, I have a workaround as found on my homepage (http://home.iprimus.com.au/mcbridematt/homepage/)
<!--webbot bot="HTMLMarkup" startspan --> <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!--webbot bot="HTMLMarkup" endspan -->
Enclosing them in <!--webbot --> comments tells FP: "don't move me, or I will kill you with Ctrl-Alt-Delete".
It doesn't in anyway affect HTML validation. The validator treats it fine. (even though it looks like FrontPage removed my character declaration)