3 ms·
It is valid HTML5. <html>, <head> and <body> will be inserted by any HTML5-compliant browser while constructing the DOM. However, it'll result in a broken page
by orftz 14y ago
It is valid HTML5. <html>, <head> and <body> will be inserted by any HTML5-compliant browser while constructing the DOM. However, it'll result in a broken page if parsed by an old browser.
See http://stackoverflow.com/questions/5641997/is-it-necessary-to-write-head-body-and-html-tags http://stackoverflow.com/questions/5641997/is-it-necessary-t...