this post was submitted on 04 Jan 2024
109 points (95.8% liked)

Programming

17525 readers
374 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] adrian783@lemmy.world 4 points 10 months ago (1 children)

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 2 points 10 months ago (1 children)

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 2 points 10 months ago

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