|
Posted by Chris F.A. Johnson on 07/22/07 23:40
On 2007-07-22, Dave Kelly wrote:
> I am confused. I am trying to validate some html code. I get a tentative
> validation with this caveat.
>
> The detected DOCTYPE Declaration "<!DOCTYPE HTML PUBLIC
> "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/HTML 4.01
> Transitional">" has been suppressed and the DOCTYPE for "HTML 4.01
> Transitional" inserted instead, but even if no errors are shown below
> the document will not be Valid until you update it to reflect this new
> DOCTYPE.
>
> It goes on to say:
> The document located at <http://www.texasflyfishers.org/windknots.htm>
> was checked and found to be tentatively valid HTML 4.01 Transitional.
> This means that with the use of some fallback or override mechanism, we
> successfully performed a formal validation using an SGML or XML Parser.
> In other words, the document would validate as HTML 4.01 Transitional if
> you changed the markup to match the changes we have performed
> automatically, but it will not be valid until you make these changes.
>
> I checked 'show source' and the only thing that stands out is the change
> of the 1st line from transitional to loose.
>
> Am I trying to validate in the correct DOCTYPE, 'transitional'?
> Under 'strict' there are 10 errors.
Use strict and fix the errors. It will not be hard to do if you use
an external stylesheet, e.g.:
<http://cfaj.freeshell.org/testing/windknots.htm>
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Navigation:
[Reply to this message]
|