Re: NET-enabling start-tag requires SHORTTAG YES



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



Relevant Pages

  • NET-enabling start-tag requires SHORTTAG YES
    ... I try to validate one page with the http://validator.w3.org. ... And this is the explanation to the error-message: ... HTML documents and reserve its use solely for those written in XHTML. ... Could anybody pleas help me with this problem? ...
    (alt.html)
  • XHTML Validation Error while using w3 validator service
    ... I face some problem in validating my HTML documents against w3 web ... I could not find any content to validate. ... WebResponse response = request.GetResponse; ... Stream responseStream = response.GetResponseStream; ...
    (comp.infosystems.www.authoring.html)