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

[VE][64] IMG element

From: Ryan McCue <ryanmccue10@hotmail.com>
Date: Fri, 20 Jan 2006 16:30:40 +1000
Message-ID: <BAY109-DAV7B12CD5B15ACF60EBBB2EB71F0@phx.gbl>
Message-ID: <43D08390.50401@hotmail.com>
To: www-validator@w3.org
When I validate several of my pages I receive the following:
Error /Line 49 column 40/: document type does not allow element "img"
here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6",
"p", "div", "address", "fieldset" start-tag.

|<img src="banner.jpg" alt="Cube Games" /*>*|

The mentioned element is not allowed to appear in the context in which
you've placed it; the other mentioned elements are the only ones that
are both allowed there /and/ can contain the element mentioned. This
might mean that you need a containing element, or possibly that you've
forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a
block-level element (such as "<p>" or "<table>") inside an inline
element (such as "<a>", "<span>", or "<font>").
How is it possible to amend this.
I use XHTML 1.0/1.1



Received on Friday, 20 January 2006 08:58:31 GMT

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