W3C home > Mailing lists > Public > www-validator@w3.org > January 2006

Re: [VE][64] IMG element

From: Ryan McCue <ryanmccue10@hotmail.com>
Date: Sat, 21 Jan 2006 17:50:25 +1000
Message-ID: <BAY109-DAV3005DEB00B42C77D8DF92B71E0@phx.gbl>
Message-ID: <43D1E7C1.5040308@hotmail.com>
To: www-validator@w3.org
I always thought that img could be a child of body. Have wrapped whole
page in div containers.
Thanks for your help.

David Dorward wrote:
> On Fri, Jan 20, 2006 at 04:30:40PM +1000, Ryan McCue wrote:
>> When I validate several of my pages I receive the following:
>> Error /Line 49 column 40/: document type does not allow element "img"
>> here
>> How is it possible to amend this.
> Find out where an image /is/ allowed and put it there instead. (I'm
> guessing that you have made the <img> element a child of the <body>
> element. The body element can only have children in the group %block,
> but many elements in that group have have img elements as children (so
> you probably just need to wrap the image in something suitable, like a
> div).
> (I read the mailing list. Please send responses there and do not CC
> me. Thanks).

Received on Saturday, 21 January 2006 07:50:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:47 UTC