Hjælp til W3C XHTML validering
Jeg får følgende fejl...Error Line 168 column 54: end tag for "input" omitted, but OMITTAG NO was specified.
<input type="hidden" name="z_City" value="LIKE,'%,%'">
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
✉
Info Line 168 column 0: start tag was here.
<input type="hidden" name="z_City" value="LIKE,'%,%'">
Error Line 170 column 1162: end tag for "tr" which is not finished.
..._City' value='22'/>Verden</td></tr><tr></tr></table>
Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
her er koden...
<%x_City=request.Form("x_City")
rswrk.Open sqlwrk, conn, 1, 2
If Not rswrk.Eof Then
datawrk = rswrk.GetRows
rowswrk = UBound(datawrk, 2)
Dim ar_x_City, ari_x_City
ar_x_City= split(x_City&"",",")
For rowcntwrk = 0 To rowswrk
x_CityChk = x_CityChk & ""
x_CityChk = x_CityChk & "<td><input type='checkbox' name='x_City' value='" & datawrk(0, rowcntwrk) & "'"
For ari_x_City=0 to UBound(ar_x_City)
If CStr(datawrk(0, rowcntwrk)&"") = Trim(ar_x_City(ari_x_City)&"") Then
x_CityChk = x_CityChk & " checked"
Exit For
End If
Next
x_CityChk = x_CityChk & "/>" & datawrk(1, rowcntwrk)
x_CityChk = x_CityChk & "</td>"
if (rowcntwrk+1) mod 4 = 0 then
x_CityChk = x_CityChk & "</tr><tr>"
end if
Next
End If
rswrk.Close
Set rswrk = Nothing
Response.write "<table><tr>"
Response.Write x_CityChk
Response.write "</tr></table>"
%>
jeg kan ikke lukke den sidste "verden" med et <tr> hvordan gør jeg det ?
