Thursday, 22 August 2013

Can i use HTML5 tags in a webpage with XHTML1.0 DOCTYPE

Can i use HTML5 tags in a webpage with XHTML1.0 DOCTYPE

In short: Can i use HTML5 tags in a XHTML1.0 page ?
Some of the websites,which i build are in XHTML 1.0,now i need to modify
them and i am planning to add a few HTML5 tags. Inorder to do that, is it
necessary to change the doctype or will the html5 tag works perfectly
without changing the doctype? When i tried some HTML5 tags in XHTML 1.0
pages,its seems like working without any issues.so need some expert advice
about the topic, whether i have to change the doctype or not and whats the
need and benifit of changing the doctype?

No comments:

Post a Comment