Re: validating comment-Tags

On Wed, 19 Dec 2001, Werner Falkenbach wrote:

> I'm a little bit astonished that my pages, all checked with Homesite,
> contain dozens(!) of errors when checking with your service.
>
> I think the reason is the following HTML-example:
>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>
> <HTML>
> <HEAD>
> </HEAD>
>
> <body >
> <!--  --Comment---------------------  -->
> </BODY>
> </HTML>
>
>
> I can't see any errors, but obviously the validator cares about the text
> between the comment - tags.

Your comment syntax is incorrect; see
<http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.4>.

-- 
Liam Quinn

Received on Thursday, 20 December 2001 12:36:47 UTC