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