Optional Tags
Posted: Wed Dec 24, 2014 10:36 am
Doesn't this make you cringe? http://www.w3.org/TR/html5/syntax.html# ... g-omission

I wouldn't want to have to code that.An html element's start tag may be omitted if the first thing inside the html element is not a comment.
A head element's start tag may be omitted if the element is empty, or if the first thing inside the head element is an element.
A body element's start tag may be omitted if the element is empty, or if the first thing inside the body element is not a space character or a comment, except if the first thing inside the body element is a meta, link, script, style, or template element.
