W3C home > Mailing lists > Public > www-validator@w3.org > October 2010

[VE][64] Question.

From: kibitz <kibitzer.sk@gmail.com>
Date: Fri, 1 Oct 2010 08:01:05 +0200
Message-ID: <AANLkTi=JDFzkNRWVPQv9RqS3OmmcHoeprRrA3-f1Jm8a@mail.gmail.com>
To: www-validator@w3.org
Hello, I'm from Argentina (sorry for my english), I'm using the HTML 4.01
Transitional and I've a question:
These "error lines" are written by my hosting server and I can't see them
with my html editor or notepad and I can't erase the lines.
I can't correct that, can you give me a solution? Sorry for the beginner's
question, the important thing is to learn.
Thanks for your time. :)




The error lines:


Validating http://www.cinecrack.com.ar/index.html
Error [64]: "document type does not allow element X here"

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).

   - *Line 122, column 78*: document type does not allow element "SCRIPT"
   here

   …type="text/javascript"
src="http://analytics.hosting24.com/count.php"*>*</script>

   - *Line 123, column 10*: document type does not allow element "NOSCRIPT"
   here

   <noscript*>*<a href="http://www.hosting24.com/"><img
src="http://analytics.hostin…
Received on Friday, 1 October 2010 20:27:13 GMT

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