|
Posted by Bone Ur on 11/30/07 03:04
Well bust mah britches and call me cheeky, on Fri, 30 Nov 2007 01:57:29 GMT
Kurda Yon scribed:
> 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?
I think you need a "method" attribute in the form:
<form action="new.php" method="get"> (-or 'post')
--
Bone Ur
Cavemen have formidable pheromones.
[Back to original message]
|