Skip navigation.

Code Highlighter Is Now In BetaAll recent postsRewriting URLs And Validation Scare

DOCTYPE In FrontPage?

I hate FrontPage. I despise FrontPage. Even though the latest and greatest of FrontPage 2003 is much better than it's predecessors it's still not good enough. Although I was glad to see an article about DOCTYPEs in FrontPage at MSDN.

I'm glad Microsoft folks are starting to pay more attention to DOCTYPEs. I think these days you shouldn't start a web form without a DOCTYPE.

DOCTYPE is about commitment. It's about your understanding (or willingness to understand) what you expect from a browser. Do you want your code rendered in Standards or Quirks mode?

The article I'm referring to states you should "preface the DOCTYPE declaration with an XML declaration".

<xml version="1.0">

No, you shouldn't! Some user agents still don't interpret this declaration correctly.

Steer clear of it for now. Your pages will validate without it.

Comments

Comment permalink 1 vincent |
What doctype declaration should I use for my website, made in part with frontpage 2003 and dreamweaver.
Thanks for your help.
Vincent
Comment permalink 2 Milan Negovan |
Vincent, the choice of a development tool does not affect page rendering or anything. Take a look at this article of mine if you're trying to decide which DOCTYPE to go with.
Comment permalink 3 Charles Wilson |
Hi, I have read your article. I am still baffled as to which Doctype to use on web. Please advice. Thank you

Best Wishes
Charles

Emails and Notifications

Would you like to be notified when somebody responds to this post?  Would you like to have these comments emailed to you?

TrackBacks

Sorry, TrackBacks are not allowed.

Submit your comment

Please enter only text since all HTML tags except hyperlinks will be stripped. Hyperlinks will become live links. Any comments with flaming or offensive language will be deleted. Be courteous to other posters. Thank you.

Your name (required):
Your email (optional):
Your site's URL (optional):
Enter this number
Type in the number above:
Comment (required):