logoalt Hacker News

barnabeeyesterday at 4:01 PM3 repliesview on HN

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.


Replies

epguiyesterday at 4:56 PM

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

show 1 reply
TZubiriyesterday at 5:07 PM

But learning about self closing tags is an additional rule

wizzwizz4yesterday at 7:43 PM

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