fromthericefields Posted April 25, 2012 Share Posted April 25, 2012 Is it ok to go ahead and use the new doctype for HTML5 eventhough I am not using any of the new tags, but am basically using XHTML Strict until perhaps in the future I may use some of the tags and features. Is this acceptable? So far everything validates in the validator, but wonder if this is good practice to use a HTML5 doctype where there is no HTML5 markup in the source code. 1 Link to comment Share on other sites More sharing options...
Don E Posted April 25, 2012 Share Posted April 25, 2012 From what I understand, you can. Just be sure to check that the HTML 4 elements and attributes you're using are still allowed in HTML 5. You can check the reference here: http://w3schools.com...5_reference.asp Link to comment Share on other sites More sharing options...
fromthericefields Posted April 25, 2012 Author Share Posted April 25, 2012 Looking at the list, I have no need to worry as I already use CSS for styling and follow Strict XHTML guidelines in my code.Thanks for the reference list, will come in handy as I learn. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now