By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,492 Members | 1,955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,492 IT Pros & Developers. It's quick & easy.

Specifications for XHTML 1.0 Strict?

hsriat
Expert 100+
P: 1,654
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
Share this Question
Share on Google+
2 Replies


drhowarddrfine
Expert 5K+
P: 7,435
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

hsriat
Expert 100+
P: 1,654
Thanks, I'll read it out and see whether I need to add DOCTYLE for XHTML or HTML.

:)

Harpreet
Mar 2 '08 #3

Post your reply

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