Forum Moderators: mack
I mainly did it for the challenge. :)
I was surprised at the errors I got: unconventional commenting, missing end tags, unencoded ampersands, and some weird characters that had been cut and pasted. All of my content is dynamically generated and it took me a while to figure out what exactly was getting produced. All my html is very clean now -- every page validates.
How does it make you feel for your pages to validate?
Does it serve visitors with old browsers?
All my html is very clean now -- every page validates.
There has to be another benefit. If it validates but displays incorrectly, you shouldn't look to the code, but maybe the logic or something else. If it did not validate, where would you want to start?
:)If your site is the one in your profile, I can tell you it looks good in a wap phone and several old browsers, as well as looking good in the modern stuff.
(If you have Opera you can simulate the WAP phone look by going to [wap.google.com...] then Search Options / Go to URL).
If it is that site, a couple of coding errors have slipped in:
:( Side bar cell -- unclosed <tr>
:( Content cell -- unclosed <td>
:( © Polish should be © Polish
:) With fully validated code you can proudly add the W3C "validates as" logo on your home page -- might catch the eye of someone wanting to employ a professional website designer.
:( You also want a complete !DOCTYPE. Half-!DOCTYPES are very very common, but not a lot of use. Look up the right code at:
[w3.org...]
I now aim first to make the site validate...then I tweak for IE5/6 afterwards
If your site is the one in your profile, I can tell you it looks good in a wap phone and several old browsers, as well as looking good in the modern stuff.
Great! I just got done shortening the top banner yesterday because I saw my page in a smaller screen size than I am used to and it was huge. I haven't done too much browser compatibility tweaking (for instance, some of my styles don't inherit) but I'm glad it looks good. Someone was actually at the site via a Palm the other day!
Side bar cell -- unclosed <tr>
Content cell -- unclosed <td>
Hmmm... I'll try to hunt them down. I need some kind of editor that will show me which tags match with which end tags.
© Polish should be © Polish
D'oh! I just went through all my files last night doing find/replace. I can't believe I missed that one!
You also want a complete !DOCTYPE.
Ok, I fixed it. Thanks for the link. I was looking for a page like that.