Forum Moderators: open
I write everything in Wordpad, in straight html, then look at the pages carefully and run it through [validator.w3.org...] I was just working on a new page, using a previous one as a template, and noticed I'd missed a </td></tr> in the earlier page. The template I was using was in four pages and all of them have been online for a couple of months. Google and the other SE's found them, it rendered ok in a few browsers, and it validated supposedly, but I missed it for two months!
How do I find my inevitable mistakes doing my pages in Wordpad? Any suggestions would be greatly appreciated.
All validators should be using the same DTDs (as published by W3C) so there really shouldn't be any difference in the validation they do.
However some produce better error messages than others and have better features.
The WDG Validator [htmlhelp.com] is useful because it can validate multiple pages in one go.
Ok, that's why they validated... I didn't realize the closing tags on the cells and rows were optional. I'll keep putting them in anyway, but that explains it :-)
The textpad editor looks good, just had a glance at it, I'll try it. I've used the WDG but liked the w3.org one somewhat more.
One thing about writing pages in straight html is that they have a unique flavour :-)
(at least I like to think so...)
This business of optional closing tags always felt to me like a wrong direction from the W3C. And now with XHTML taking over in a few years, closing tags will be required for every element. So there's no reason to get bad habits now, and every reason to break them if you already have them. It gives the browser's rendering engine clear instructions and helps get a consistent page appearance.
It was only a few years ago that I started a discipline of always closing paragaph tags -- and only then I learned that a list could not nest inside a <p> but in fact implied a </p> when the list began.