To Close Or Not To Close

February 27, 2014 at 12:52 PM

If you have browsed my HTML code you see that I have been flapping back and forth on closing void tags in HTML. I am not alone in this conceptual tug-of-war. My thought has been that it is more technically correct to do so, even though it is optional and makes for ugly code prose. This article goes through the history of the concept and where current thinking/standards lie. TL;DR version: Closing them is out of style in HTML5. Your code can be pretty _and_ correct.

Link: To Close Or Not To Close


Permanent Link — Posted in Web Links