News for hackers. Stuff that matters.
Re:A Short Guide to Minimal Web Development (2018) by spenczar5 on Thursday August 27, 2020 @04:38PM (#24298367)
Others have pointed out that this validates with automated tools. Here's the parts of the spec:

- "An html element's end tag can be omitted if the html element is not immediately followed by a comment." https://html.spec.whatwg.org/multipage/semantics.html#the-ht...

- "A head element's end tag can be omitted if the head element is not immediately followed by ASCII whitespace or a comment." https://html.spec.whatwg.org/multipage/semantics.html#the-he...

- "A body element's end tag can be omitted if the body element is not immediately followed by a comment." https://html.spec.whatwg.org/multipage/sections.html#the-bod...

Re:A Short Guide to Minimal Web Development (2018) by jimsmart on Thursday August 27, 2020 @11:23PM (#24301073)
Personally, I prefer to close all of my elements, it avoids having to worry about accidentally triggering one of these hard-to-spot edge-cases.