computers The Internets

Fun for some value of fun: W3C HTML Validation

So for ‘fun’ I ran through the W3C Markup Validator.

Actually, the thing I was concerned about is that the page looked fucked up in IE8, and presumably other browsers. Haven’t rechecked it yet, since I’m on a Mac at work. But at a minimum it found a bunch of small coding errors. No doubt I wouldn’t have had these problems if I’d been using an HTML editor more capable than emacs, but I haven’t yet found a WYSIWYG editor that’s free and doesn’t screw you somehow…

Anyway I learned some stuff, like XHTML transitional wants ‘self contained’ tags to self terminate, e.g. <br> should be <br />, and attribute values should always be in quotes. I’m not sure the permissive nature of web browsers’ HTML parsers has done us any favors.

I also (DUH) am a big believer in standards compliance. Yeah I’m looking at you Microsoft.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.