+ 2

HTML versions

Can HTML and HTML5 be coded in the same web-document? Can various HTML versions be coded into the same web-document? If yes, how well does this work? Or does it cause problems with compatibility?

16th Jul 2018, 10:07 AM
👩🏽‍💻TalCre Arts
👩🏽‍💻TalCre Arts - avatar
1 ответ
+ 4
Yes you can. Newer version are announced to add new functionality means you can continue using older version functionality but to use new version say for example Html5 you have to write <!DOCTYPE html> So browser understand that you also want to use newer version functionality. Hope this helps☺️☺️.
16th Jul 2018, 10:16 AM
Meet Mehta
Meet Mehta - avatar