W3C home > Mailing lists > Public > www-validator@w3.org > July 2005

Re: [VE][64] Error Message Feedback

From: David Dorward <david@dorward.me.uk>
Date: Mon, 4 Jul 2005 12:15:31 +0100
To: saravanan <saravanan@trivamsolutions.com>
Cc: www-validator@w3.org
Message-ID: <20050704111531.GA30217@us-lot.org>

On Mon, Jul 04, 2005 at 04:02:31PM +0530, saravanan wrote:
>    please help me to solve this error in the website:
>    http://www.callidaimotor.com
>    Line 7, column 71: document type does not allow element "META" here

You have a type=text/css in your <link>. Attribute values containing
"/" characters must be quoted.

http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2

Since it is not quoted, it does not form part of the attribute value,
and / can be used (in this case at least) to end a tag instead of >
(even though most browsers don't respect it). 

You then have character data in the <head>, where it isn't
allowed. The end tag for <head> is optional though, as is the opening
tag for <body>.

So your code works out as:

<title>:::: Callidai Motor - Home ::::</title>
<LINK href="images/links.css" type=text>
</head>
<body>
css rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

and <meta> is not allowed inside the <body>.

This is the cause of your other error as well. See also
http://www.cs.tut.fi/~jkorpela/qattr.html

-- 
David Dorward                                      http://dorward.me.uk
Received on Monday, 4 July 2005 11:15:37 GMT

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