• calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 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.