Comment by barnabee

Comment by barnabee 10 hours ago

5 replies

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.

epgui 9 hours ago

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…”.

  • intrasight 8 hours ago

    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.

    • eastbound 5 hours ago

      It triggers the linters so often. I shall keep my <input> tag open.

TZubiri 9 hours ago

But learning about self closing tags is an additional rule

wizzwizz4 6 hours ago

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