Comments by "Kristopher Driver" (@paxdriver) on "The Biggest Lie In HTML" video.
-
11:51 I've been writing html consistently since 1999 when I was 14, it is still easier to read closing tags with a space. If it's unclear, like not-BR tags that can be nested, never use it. If I see <> without a slash I have to stop and check if the word is one common to new HTML I'm not familiar with (like section, article, picture, or for old people like me the I, b, or center tags) then I don't have to try to remember if the em is a legit tag, an XML thing, and whether what I think it is has nested elements...
Just use a "/" in every tag or closing tag, make it clear when that part of the markup is done so I don't need to focus on that when debugging someone else's HTML. Why not use /? We should just add 1 character to make any code much more reasonable. That's why we dropped the semicolons in javascript, that 1 character is distracting because we have to stop and ask if that's where the bug is.
1