W3C home > Mailing lists > Public > www-validator@w3.org > October 2010

Re: document type does not allow element "div" here?

From: Philip Taylor (Webmaster, Ret'd) <P.Taylor@Rhul.Ac.Uk>
Date: Fri, 01 Oct 2010 21:33:47 +0100
Message-ID: <4CA645AB.1090408@Rhul.Ac.Uk>
To: Sandra Reinhart <sandrar82@gmx.de>
CC: www-validator@w3.org
Put simply, it is telling you that you can't have
a <DIV> directly inside an <A>.

Philip Taylor
--------
Sandra Reinhart wrote:
> Hello!
>
> I am the webmaster of http://www.frauenportal.net/ - I am trying to validate my website. I used http://validator.w3.org/ and am getting some errors.
>
> The only error I do not understand, is the following:
>
> Line 70, Column 20: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
>
>    <div class="logo"></div>
>
> Can somebody please explain me this error?
>
> Thank you!
>
> Sandra
Received on Friday, 1 October 2010 20:40:55 GMT

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