← Back to context

Comment by oneeyedpigeon

14 hours ago

Is it really that much easier to write `<br>` and know that it isn't a problem, than just write `<br />`?

It’s much easier to have to remember fewer rules and for things to be ok if you get some wrong, yes.

Especially for casual users of HTML.

  • Bad reasoning.

    “Always close your tags” is a simpler rule (and fewer rules, depending how you count) than “Close your tags, except possibly in situations A, B, C…”.

    • I've been closing my tags for 30 years and I assume that I will for the rest of my days. I like that it validates as XML. Historically I used XSLT a LOT.

      1 reply →

  • <script /> is invalid HTML, and <img></img> is also invalid HTML. There's no way to avoid knowing HTML syntax.