sag@lemm.ee to Programmer Humor@programming.dev · 2 years ago<br>lemm.eeimagemessage-square27linkfedilinkarrow-up1455arrow-down110
arrow-up1445arrow-down1image<br>lemm.eesag@lemm.ee to Programmer Humor@programming.dev · 2 years agomessage-square27linkfedilink
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up1·2 years agoIt’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.
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.