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

different doctype in a website is against standards???

P: 3
Hi all, I am validating a site for my web assignment which is frame based. My problem is that when i validate the main page (frame based) with doctype frameset there are no errors, but when i validate all other pages(with doctype frameset) the problems begin!!!. I can solve the problem by naming all other pages doctype transitional but the question is can i do so or its against standards?
Jan 27 '08 #1
Share this Question
Share on Google+
2 Replies


drhowarddrfine
Expert 5K+
P: 7,435
A frameset page is a different animal from the other page types. A frameset page contains other web pages while the other web pages are normal ones. So a frameset page needs a frameset doctype but the other pages are not framesets so you should use a different doctype.

I say 'different' doctype because there is no need for transitional in new web pages. You should always use 'strict'.
Jan 27 '08 #2

P: 3
thanks that what i wanted :)
Jan 27 '08 #3

Post your reply

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