467,907 Members | 1,391 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

different doctype in a website is against standards???

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
  • viewed: 1043
Share:
2 Replies
drhowarddrfine
Expert 4TB
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
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.

Similar topics

8 posts views Thread by CMAR | last post: by
39 posts views Thread by Holly | last post: by
6 posts views Thread by Patrick | last post: by
6 posts views Thread by jperillo | last post: by
29 posts views Thread by AndyZa | last post: by
drhowarddrfine
reply views Thread by drhowarddrfine | last post: by
11 posts views Thread by rfr | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.