0
Without html and head tag it will work or not?
I mean <html> <head> </head> <html>
3 ответов
0
These tags may be omitted in HTML5. Look at the official W3C reference:
https://html.spec.whatwg.org/multipage/syntax.html#optional-tags
0
It is not a good idea to omit the html, head and body tags. Even if HTML 5 allows it, it is good practice to keep them.
0
That‘s a matter of opinion. For example Google recommends to omit those optional tags in its style guide (chapter 3.1.4)
https://google.github.io/styleguide/htmlcssguide.html#HTML_Style_Rules