- From: Liam Quinn <liam@htmlhelp.com>
- Date: Thu, 14 Apr 2005 21:47:51 -0400 (EDT)
- To: Paran Subra <kuruparan_paran@hotmail.com>
- cc: www-validator@w3.org
On Thu, 14 Apr 2005, Paran Subra wrote:
> i put:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <!--
> Copyright notices. Source code stealing info
> -->
> ........
>
> but this was said,
> Line 5, column 95: invalid comment declaration: found name character
> outside comment but inside comment declaration
The HTML4 spec says:
A common error is to include a string of hyphens ("---") within a
comment. Authors should avoid putting two or more adjacent hyphens
inside comments.
http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.4
Did you put two or more adjacent hyphens inside the comment?
--
Liam Quinn
Received on Friday, 15 April 2005 01:47:25 UTC