Cloud Computing and Technology Management Insight from Brian Parsons rss

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


blog comments powered by Disqus

This is the personal web site of Brian Parsons. The views and opinions expressed in essays written on this web site are my own and are in no way related to or reflective of any company that I am associated with.

Creative Commons License Unless otherwise noted, this work is licensed under the Creative Commons Attribution 3.0 Unported License.

Other Work By Brian