467,910 Members | 1,762 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,910 developers. It's quick & easy.

Specifications for XHTML 1.0 Strict?

Expert 1GB
Till now I hadn't added any DOCTYPE to my website.

If I'm adding XHTML 1.0 Strict, every thing's getting messed up.

Where can I get complete specifications for XHTML 1.0 Strict, so that I can amend my HTML accordingly?
Mar 1 '08 #1
  • viewed: 1177
2 Replies
Expert 4TB
When you didn't have a doctype, you didn't set the rules, and browsers do what they will while IE goes into 'quirks mode'. Now that you add a doctype, the rules are changed. So now the browser is following a different set of rules.

You don't necessarily need the specs for XHTML 1.0 because I doubt you are serving it, but here they are anyway. Pay particular attention to the part about differences with HTML because you are actually serving XHTML as HTML.

A doctype is required of all web pages.
Mar 1 '08 #2
Expert 1GB
Thanks, I'll read it out and see whether I need to add DOCTYLE for XHTML or HTML.


Mar 2 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

24 posts views Thread by Nobody | last post: by
35 posts views Thread by The Bicycling Guitarist | last post: by
16 posts views Thread by Peter Maas | last post: by
16 posts views Thread by Mcginkel | last post: by
82 posts views Thread by Buford Early | last post: by
24 posts views Thread by Dan Jacobson | last post: by
11 posts views Thread by Michael Powe | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.