|
Posted by Kurda Yon on 11/30/07 01:57
Hi,
I try to validate one page with the http://validator.w3.org. This is
the error-message that I got:
NET-enabling start-tag requires SHORTTAG YES
And this is the explanation to the error-message:
The sequence <FOO /> can be interpreted in at least two different
ways, depending on the DOCTYPE of the document. For HMTL 4.01 Strict,
the '/' terminates the tag <FOO (with an implied '>'). However, since
many browsers don't interpret it this way, even in the presence of an
HMTL 4.01 Strict DOCTYPE, it is best to avoid it completely in pure
HTML documents and reserve its use solely for those written in XHTML.
However, it does not help. I do not have any <FOO/> tags in my HTML
code. This is the body-part of the code:
<body>
<form action="new.php">
</form>
</body>
The validator complains about the second line of the code.
Could anybody pleas help me with this problem?
Navigation:
[Reply to this message]
|