timmah1 Posted April 3, 2009 Share Posted April 3, 2009 Can someone please tell me what I am doing wrong with my doctype? Here is what I have <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd"> But when I go and validate it, it passes with 1 warning. This is the warning Warning DOCTYPE Override in effect! The detected DOCTYPE Declaration "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">" has been suppressed and the DOCTYPE for "HTML 4.01 Strict" inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE. Can someone tell me what I'm doing wrong? Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/152428-doctype/ Share on other sites More sharing options...
sKunKbad Posted April 4, 2009 Share Posted April 4, 2009 try: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> Quote Link to comment https://forums.phpfreaks.com/topic/152428-doctype/#findComment-800941 Share on other sites More sharing options...
Daniel0 Posted April 4, 2009 Share Posted April 4, 2009 I can never remember the doctypes. I'll just Google search like "html 4 doctype" or C/P from another file I have. Quote Link to comment https://forums.phpfreaks.com/topic/152428-doctype/#findComment-801058 Share on other sites More sharing options...
sKunKbad Posted April 5, 2009 Share Posted April 5, 2009 I can never remember the doctypes. I'll just Google search like "html 4 doctype" or C/P from another file I have. Same for me. Quote Link to comment https://forums.phpfreaks.com/topic/152428-doctype/#findComment-801536 Share on other sites More sharing options...
Axeia Posted April 8, 2009 Share Posted April 8, 2009 I bookmarked http://www.w3.org/QA/2002/04/valid-dtd-list.html Quote Link to comment https://forums.phpfreaks.com/topic/152428-doctype/#findComment-804333 Share on other sites More sharing options...
Yesideez Posted April 8, 2009 Share Posted April 8, 2009 I bookmarked http://www.w3.org/QA/2002/04/valid-dtd-list.html I like it! Now in my bookmarks Quote Link to comment https://forums.phpfreaks.com/topic/152428-doctype/#findComment-804510 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.