I was originally going to switch to HTML 4.01. I ended up choosing XHTML because it isn’t forgiving like regular HTML; tiny errors in markup will make browsers refuse to display anything. This will help me have a more correct website according to the specifications.
I really miss this property with regular HTML. This might be a stupid question, but how do I find out if my HTML is valid? I mean, other than running it through W3C’s tool. My browser surely doesn’t tell me …
@movq@www.uninformativ.de I think you cannot with the browsers I know of. Not sure if this is still possible, but I think in the past the validator could be run locally, too. My memories might fail me, but I reckon some early versions of Firefox had a checker built in. Or was it a plugin? Maybe in Firebug? It’s been too long.
@lyse@lyse.isobeef.org https://validator.github.io/validator/, I’m running it locally on OpenBSD via pkg_add vnu
@adi@twtxt.net That looks promising, thanks for the tip. :)
@movq@www.uninformativ.de You simply run vnu <file.html>
and that’s all!
Good find, @adi@twtxt.net. Thank you!
@lyse@lyse.isobeef.org I’ve integrated it in my workflow! I can validate all my HTML
s via a shell script before uploading!