Comment by MORPHOICES
17 hours ago
The HTML Specification (spec) states it is possible to omit closing tags for certain elements when writing HTML documents. ~
In fact, most web browsers now automatically insert these closing tags for the user.
This feature has been around for many years now.
However, I have found that many organizations still require that the closing tags be included explicitly.
I am curious how other organizations determine when to use the "the spec allows it" as a reason to not include the closing tags.
What point do developers cross from merely allowing this to being considered a technical debt?
Have you ever utilized the feature of the specification that caused you a problem later?
No comments yet
Contribute on Hacker News ↗