- 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
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 UTC