W3C home > Mailing lists > Public > www-html@w3.org > June 2001

ok what goes on ear?

From: Eric <e.richards@clear.net.nz>
Date: Fri, 22 Jun 2001 23:44:03 +1200
Message-ID: <005301c0fb11$3010d840$0300a8c0@686>
To: <www-html@w3.org>
this error came up from 

that checks using 

Line 2407, column 21: 
  "images/blacksq.gif"> comes up

and this is the faulty line
[2407]<img alt="the picture" src="images/blacksq.gif"> comes up

and then gives this message
Error: element "IMG" not allowed here; check which elements this element may be contained within (explanation...)

clicking onto explanation gives

"document type does not allow element "FOO" here" 
Straightforward, but not terribly informative. There are a lot of different errors that will generate this error message: 

  a.. Using an unknown tag. In this case, the next error will be "element `FOO' undefined". 
  b.. Using a tag in the wrong place. For instance, <TABLE><TD>blah</TABLE> will cause this error. The trick here is that <TABLE> cannot directly contain <TD>'s; it contains <TR>'s which contain <TD>'s. The above example should be <TABLE><TR><TD>blah</TABLE>. 

were does "FOO" come into it? 
more important TABLES the  wrong code is not used in tables.

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.262 / Virus Database: 132 - Release Date: 12-Jun-01
Received on Friday, 22 June 2001 07:49:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:57 UTC