[B]The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements – such as a “style” element in the “body” section instead of inside “head” – or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML’s rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML’s “self-closing” tags for “meta” and “link” in the “head” section of a HTML document may cause the parser to infer the end of the “head” section and the beginning of the “body” section (where “link” and “meta” are not allowed; hence the reported error).
[/B]
you should be wrapping <a> tags inside an element that should be a child of <a> tags and instead.
you should always wrap child inside parent tags… Well I have just realized that some tags are not allowed to be wrap inside some tags. For instance
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>”).
Block-level element can not be wrap inside an inline-element
that’s incorrect.
<a><table></table></a>
So you should watch out for something like that…
Maybe you should post the html code here so someone can give you an idea weather you are wrapping some tags inside another tags which shouldn’t be wrapped in.
Okay. I got rid of 31 out of 36 errors. You leave out one teensy quote mark and the whole page goes to shambles. Anyway, I fixed it… most of the errors, at least. Thank you for your help, all.
Ah, yes. I actually can’t edit that. Yahoo! Web Hosting automatically adds it to my pages after I upload it to their server. Is the “language=“JavaScript”” wrong because of the document type I’m using? I’m wondering if I should email Yahoo! and tell them to change their code the way you’ve suggested above.
Actually the reason the language attribute is used is because while javascript is the current scripting language used by browsers, at some point in the future it could change and by not specifying hwat language it is it will rely on the default, so if a browser changes and uses a different language the script will stop working.