this post was submitted on 04 Jan 2024
112 points (95.9% liked)

Programming

17022 readers
239 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] adrian783@lemmy.world 4 points 8 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 8 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 8 months ago

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