co.ador Posted December 17, 2009 Share Posted December 17, 2009 is HTML 4.01 ok as well? Quote Link to comment Share on other sites More sharing options...
abazoskib Posted December 17, 2009 Share Posted December 17, 2009 It all depends. http://www.w3schools.com/tags/tag_DOCTYPE.asp But remember, it is poor practice to change the DOCTYPE to have your code validate. Your code should validate because it is valid code. Quote Link to comment Share on other sites More sharing options...
haku Posted December 18, 2009 Share Posted December 18, 2009 It won't validate without a doctype. Anyways, as for the best doctype, you should use either an HTML 4.01 or XHTML 1.0 doctype. Within that you have the choice of trasitional or strict - the strict is the better doctype to go with for both HTML and XHTML. But between HTML and XHTML it's a matter of choice. See the thread at the top of this section of the forum for more conversation on that matter. Quote Link to comment 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.