W3C home > Mailing lists > Public > www-validator@w3.org > November 2004

Re: [VE][8] Error Message Feedback

From: David Dorward <david@dorward.me.uk>
Date: Sun, 07 Nov 2004 22:38:08 +0000
To: Glynn Williams <glynn@wowdesignsolutions.com>
Cc: www-validator@w3.org
Message-Id: <1099867088.9206.19.camel@cyberman>

On Sun, 2004-11-07 at 22:23 +0000, Glynn Williams wrote:
> Can you explain what is wrong with my code please, not sure what this
> means.

>      1. Line 2, column 0: character "<" invalid
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> <html>

You aren't allowed a "<" character inside the doctype declaration.

Valid doctype declarations are:
http://www.w3.org/QA/2002/04/valid-dtd-list.html

HTML 4.01 Strict is generally recommended for new documents.

> <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1" />

Don't use XHTML style self-closing tags in HTML. The "/>" means
something somewhat different under SGML rules.
Received on Sunday, 7 November 2004 22:41:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:15 GMT