• adrian783@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    6 months ago

    well, no. because broken html can still function sometimes. but most importantly most of html is not even “broken”, just not “adhering to the complete standards”.

    html is just formatting around the content. even completely devoid of html you can still see things. we’re not writing latex here and no one cares things are a little fucky.

    as far as generated html go, you’re more likely to break it further if you fuck with it anyways.

    • bitcrafter@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      Sure, but shouldn’t you want your generated markup to adhere to the complete standards so that you know it will be interpreted correctly, rather than hoping that the browser will make the correct guess about what you really meant?

      • adrian783@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        6 months ago

        I mean yeah it would be nice but software isn’t perfect and validating html is not a sexy feature.