581
(lemm.ee)
you are viewing a single comment's thread
view the rest of the comments
[-] calcopiritus@lemmy.world 1 points 3 months ago

It's actually more confusing/less correct to close bodyless elements in HTML. Since HTML treats "/>" the same way as ">" which could lead to a "/>" tag not actually being closed, if it is used on a non-selfclosing tag.

this post was submitted on 20 Jul 2024
581 points (98.2% liked)

Programmer Humor

19606 readers
891 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS