The Web is being held back by sloppy markup. What is the role for validation services? How much can be done to automate fixup of bad markup? What roles should ISPs, Content providers, vendors of editing tools, and W3C take?
From " Shaping the Future of HTML" a WC3 sponsored conference announcement.
Strangely enough, there are almost no WYSIWYG or conversion tools that produce completely valid html (For example, Word "SaveAs html" output is awful). This has come about because the guidelines suggest that browsers should be very forgiving in what they accept. As a result even badly constructed html will not usually crash browsers, and they will display as much of a page as they can make sense of. This leeway has provided little incentive to producing html that is valid.
An early version of Netscape was quite forgiving about unclosed quotation marks in anchors. But then Netscape released a new version, with all sorts of new bells and whistles that everyone seemed to want, so people downloaded it en masse. And when those people went to sites whose authors hadn't bothered to check that all their quotes were closed, they found big chunks of pages missing and links not working. All because Netscape had changed the implementation of their parser, and the tolerance for unclosed quotes in the earlier version wasn't a designed feature, it was simply an accidental artifact of a particular implementation decision.
Validation is the only practical way to catch errors like this.
-- quoted from Eric Bohlman <ebohlman@netcom.com>, March 1998
A good overview on the reasons for producing valid html is HTML Standards Compliance - Why Bother? By Alan Richmond
The USGS is an information repository. For throw-away pages such as advertisements, announcements, or schedules, use whatever tools are easiest. Reports and other scientific data make the USGS more akin to a library than a promotional site. For these purposes the quality of the html matters.
There are many "half-witted" HTML validators out there. If the product does not use SGML and DTDs, it is not a full-fledged validation product and can miss errors.
A later section of this course, HTML Converters, covers methods for obtaining valid HTML from various sources.
slide 16
|
"Mastering a Web Site" online course Created and maintained by Lorna Schmid and David Boldt. http://water.usgs.gov/usgs/training/webmaster/valid_html.html Last modified: Sun May 8 17:58:52 EDT 2005 |