Re: NET-enabling start-tag requires SHORTTAG YES



Kurda Yon wrote:
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>

You can't have an empty form in HTML 4.01 strict.

The validator complains about the second line of the code.

Could anybody pleas help me with this problem?
.



Relevant Pages

  • Re: HTML4.01 STRICT and hyperlinks with target
    ... NOT included into STRICT doctype. ... I can even say I think it IS a good reason. ... You aren't using HTML 4.01 Strict because you agree with the basic ... What about an abilitycheck in JavaScript, eg: ...
    (comp.infosystems.www.authoring.html)
  • Re: iframe validation issues
    ... the iframe tag. ... proper html and thus will not validate. ... strict. ... strict version of html or xhtml from html 4.01 on. ...
    (alt.html)
  • Re: HTML4.01 STRICT and hyperlinks with target
    ... I can even say I think it IS a good reason. ... You aren't using HTML 4.01 Strict because you agree with the basic philosophy behind that doctype; ... I found 1 thing in STRICT I don't agree with for reasons I already explained (no JavaScript, and clients who have mental problems with remembering how to open a new window). ...
    (comp.infosystems.www.authoring.html)
  • Re: HTML4.01 STRICT and hyperlinks with target
    ... It is a matter of the basic design philosophy behind HTML ... to do to do with frames or windows, because HTML 4.01 Strict ... content, styling, and browser behaviour. ... doctype and you ignored the question. ...
    (comp.infosystems.www.authoring.html)
  • Re: Empty link
    ... >DIV element. ... I wound up recoding my pages to validate agains HTML 4.01 Strict ...
    (comp.infosystems.www.authoring.html)