3 ms·
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.
by barnabee 9mo ago
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 9mo agoBad 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 9mo agoI'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 9mo agoIt triggers the linters so often. I shall keep my <input> tag open.
- TZubiri 9mo agoBut learning about self closing tags is an additional rule
- wizzwizz4 9mo ago<script /> is invalid HTML, and <img></img> is also invalid HTML. There's no way to avoid knowing HTML syntax.