sag@lemm.ee to Programmer Humor@programming.dev · 4 months ago<br>lemm.eeimagemessage-square36fedilinkarrow-up1593arrow-down111
arrow-up1582arrow-down1image<br>lemm.eesag@lemm.ee 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.