Forum Moderators: open
Validating your code can be a real shocker at times. Although we all try to write standard code, sometimes it just seem an impossible task. One of the growing needs in html today, is for that of a quality html validator (syntax checker). While searching around for my own purposes, I was surprised how few options HTML authors have for validators today.
Summary:
You have your basic two choices, a high quality pricey commercial product, or the official standard freebie.
The Commercial Choice:
The quality commercial package is the CSE HTML Validator [htmlvalidator.com].
At $129 USD it is a bit steeper price tag than most of us are use to paying for software these days - but, it is the best thing going in HTML validators. Nothing compares to its features and function. From simple syntax checking to more advanced cascade error preventing tag trees, it does it all.
There is a demo version (50 validations), and a freebie lite version. Even the lite version is better than most of the competition. If you are serious about html development, you need this tool.
The Freebie Choice:
The W3C Validation service [validator.w3.org] is straight from the body endowed with creating web standards. It is also free and web based. Simply put in the url you wish to validate and let it run. Opera users have a leg up here with a simple right click and validate to validate any page in the browser.
You may also upload a file from your computer [validator.w3.org].
The biggest draw back to the W3C validator is it is unforgiving. It is not only strict, it suffers terribly from cascade errors with mismatched tags. Often you'll have to look through hundreds of errors to find the real one that will fix the whole shabang.
The biggest strength though, is that when your page does validate, you are assured that it should be viewable in all modern browsers. It will also correctly deal with the newer languages like XML.
There is also a CSS Validator at the W3C. In a nice touch, you can cut & paste, upload, or validate by url:
[jigsaw.w3.org...]
The main page for the W3C validator is located at:
[validator.w3.org...]
Other Validators:
Bobby checks your page for accessibility features: [cast.org...]
Weblint is now becoming dated. It has not been updated in ages. Still has some life left in it: [weblint.org...]
Web Design Groups Online Validator. Much in the save vein as the W3C's validator, it allows checking from online by URL and supports a wider group of character encodings:
[htmlhelp.com]
There is also, A Real Validator [arealvalidator.com] from Liam Quinn that uses an IE front end. It is good, but lacks the power features of CSE. Shareware.
Another entry is Dave Raggetts HTML Tidy. HTML Tidy actually changes -- or tries -- the source code to the page.
[w3.org...]
The home team:
[searchengineworld.com...]
Finally, the
Yahoo category for validators [dir.yahoo.com].
and the
Open Directory Project [dmoz.org] page on validators.
Anyone know of any worthwhile html checkers I have missed? Possibly for other platforms?
They were just taken over and their free service has been cut back a little. It will only validate 25 links per page. Other than that it's pretty good. It will allow you to downside .gif & .jpeg graphics.
I've been using the onboard validator with Homesite. Since I usually write my code in Homesite, it's right at hand. It's extremely configurable, which I appreciate very much -- sometimes I'm not trying for totally strict code but just editing a buggy page for someone just to get it to work.
Homesite does tend to suffer from cascading errors, especially with some simple things like unclosed quotes, but to be fair, I'm using an older version. Recent releases may be improved.
I'm curious about this freeware, arachnophilia [arachnoid.com]. I have a friend who swears by it. It's a lot more than a validator -- they call it a "website workshop" and it has a huge features list including spell check, browser integration for 6 browsers, FTP client, on and on. Amazing for freeware. Is anyone using it?
I think the best thing about the produce is the wizards that do tables and frames. That could be a real help and I think I will be using that option in the future for "no brainer" development to save all that redundant typing. The validator/analyzer is rather rudimentary, but could be useful.
>Anybrowser
They use WebLint and the actual W3C validator.
I also forgot about Delorie.coms Web Page Purifier:
[delorie.com]
Arachnophilia has been my html editor for close to a year. It's a great tool. I code by hand so I haven't utilized many of the features, but I do use the spellcheck, find/replace, search and the syntax checker. I also like the way it displays the mark-up; real easy to discriminate page divisions, tables etc. Free is also a very good price!
I have dug into Tidy's config files and set it up to "pretty-up" the pages and balance the whitespace. The result is very neat (& pretty!) code that is a breeze to go back and edit any time I get the hankerin' ...
Homesite's Validator and Opera's - I'm good to go!
XHTML+CSS+VALIDATED CODE=Peace of Mind! :)
Ahem, colegas. Arachnophilia is actually 'careware', and after lurking here a couple of months I'd say you all qualify.
Seriously though, I've used Arach for about 3 or 4 years now, in fact that and a squeaky new netscape com 3 helped me begin understanding html. Now I'm looking for a way to finish understanding it.
Really a very useful tool with many possibilities which are not exploited by me, sadly. The arachnoid website I found quite interesting, at times humourous, and with info about the prog.
I use Opera with is's handy shift-ctrl-v key to validate (url changed to a local version of the sew validator).
I temporarily switch the "view source" program to point at CSE. So a control-f3 sends the source to cse and a f6 validates it. (umm, cse is awesome. I wish they had an affiliate program)