RE: ok what goes on ear?

This really isn't the place for questions like this, but more than likely
your image is a child element of either a <table>, <tr>, <ul>, <ol>, or
something like that.
 



Thanks, 

Jeff Carr 


-----Original Message-----
From: Eric [mailto:]
Sent: Friday, June 22, 2001 6:44 AM
To: www-html@w3.org
Subject: ok what goes on ear?


this error came up from 
 <http://www.w3schools.com/site/site_validate.asp>
http://www.w3schools.com/site/site_validate.asp
 
that checks using 
 <http://validator.w3.org/> http://validator.w3.org/
 
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 (
<http://validator.w3.org/docs/errors.html#not-allowed> explanation...)

clicking onto explanation gives

not_allowed"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: 

*	Using an unknown tag. In this case, the next error will be
<http://validator.w3.org/docs/errors.html#undef-tag> "element `FOO'
undefined". 

*	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
<http://www.grisoft.com> ).
Version: 6.0.262 / Virus Database: 132 - Release Date: 12-Jun-01

Received on Friday, 22 June 2001 09:18:02 UTC