Re: NET-enabling start-tag requires SHORTTAG YES
- From: Bone Ur <monstersquasher@xxxxxxxxx>
- Date: Fri, 30 Nov 2007 03:04:39 +0000 (UTC)
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.
.
- Follow-Ups:
- Re: NET-enabling start-tag requires SHORTTAG YES
- From: Jukka K. Korpela
- Re: NET-enabling start-tag requires SHORTTAG YES
- References:
- NET-enabling start-tag requires SHORTTAG YES
- From: Kurda Yon
- NET-enabling start-tag requires SHORTTAG YES
- Prev by Date: Re: empty cells in a table not displaying correctly
- Next by Date: Re: HTML book recomendation
- Previous by thread: NET-enabling start-tag requires SHORTTAG YES
- Next by thread: Re: NET-enabling start-tag requires SHORTTAG YES
- Index(es):
Relevant Pages
|