Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If it complains about an unmatched </html>, that's fine. But you can omit <html> as it is an implied tag: https://html.spec.whatwg.org/multipage/semantics.html#the-ht...

> An html element's start tag can be omitted if the first thing inside the html element is not a comment.

> An html element's end tag can be omitted if the html element is not immediately followed by a comment.

The only explicit tag that is required for every HTML document is <title>, which you supposed boilerplate misses.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: