sag to Programmer Humor@programming.dev · 4 months ago<br>imagemessage-square36fedilinkarrow-up1591arrow-down111
arrow-up1580arrow-down1image<br>sag to Programmer Humor@programming.dev · 4 months agomessage-square36fedilink
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up1·4 months 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.