Are There Any Pros to Use HTML 5 Doctype `` Without Using HTML 5 Tags?



Are there any pros to use the HTML 5 doctype <!DOCTYPE html>, even if I am not using any new HTML 5 tags? Are there any benefits to replacing the XHTML doctype with the HTML 5 doctype, even if I am not using any new HTML 5 tags?

Can the HTML 5 doctype create problems in terms of functionality if I am using anything XML related with my site, or using HTML 5 for web development with any A-Grade browser? Is it supported in all desktop and mobile browsers?

Or, for right now, is it good to stick with the XHTML Doctype until 2015?





Is there any pros to use HTML 5 doctype even if i’m not using any new HTML 5 tag?

Slightly less typing.

That’s about it.

I wouldn’t use the HTML5 doctype yet. With this doctype you’re stating that your document conforms to a specification that is still a moving target. IMO: wait until the spec is finished and the validation process tied down.


Facebook Comments

Post a comment