HTML DTD

J

John

What is the best 'Document Declaration Type' (DTD in SGML)
to use in FrontPage 2002? FP doesn't place a W3C approved
DTD tag into its pages. When I try to verify my pages via
the W3C, I get a fatal error because of this! Does FP
default to HTML or XHTML and what flavor?

Thanks!
 
J

Jim Carlock

FrontPage doesn't place a DTD on a page. It is the browser that is
reading the page that defaults to certain DTDs. XHTML has a
stricter definition of things and I tend to define and use an XHTML
Transitional DTD. This makes the page XHTML for the most part
and you'll encounter having to put forms into <object> tags and
you'll want to get into the habit of using <tbody> tags for tables,
making sure all open-ended tags are closed with a /> and all <p>
tags have a corresponding </p> tag, etc.

FrontPage doesn't provide any help when using DTD's and you'll
find you'll be doing a lot of coding in HTML mode. Although, as
long as you have the XML conformance update installed, you can
right click on a page in HTML mode and click on the Format the
page as XML or Format the page as HTML. It can only be
performed in HTML view though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top