<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" /> <link href="style/styl.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="content"> <div id="menu"> <img src="images/menu/mukp.jpg" alt="" /> <ul> </ul> <img src="images/menu/acco.jpg" alt="" /> <ul> </ul> <img src="images/menu/pool.jpg" alt="" /> Czy podoba ci się wygląd tej strony? <form action="index.php" method="get" enctype="text/plain"> <input type="hidden" name="co" value="pool" /> <input type="submit" value="Głosuj!" /> </form> </div> </div> </body> </html>
i w Validatorze W3C wyskakują mi następujące błędy:
Cytat
This page is not Valid XHTML 1.0 Strict!
Below are the results of checking this document for XML well-formedness and validity.
Error Line 25 column 47: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<input type="hidden" name="co" value="pool" />
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Error Line 26 column 46: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<input type="radio" name="odp" value="tak" /> Tak<br />
Error Line 26 column 48: character data is not allowed here.
<input type="radio" name="odp" value="tak" /> Tak<br />
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
Error Line 26 column 56: document type does not allow element "br" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<input type="radio" name="odp" value="tak" /> Tak<br />
Error Line 27 column 46: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<input type="radio" name="odp" value="nie" /> Nie<br />
Error Line 27 column 56: document type does not allow element "br" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<input type="radio" name="odp" value="nie" /> Nie<br />
Error Line 28 column 40: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<input type="submit" value="Głosuj!" />
Below are the results of checking this document for XML well-formedness and validity.
Error Line 25 column 47: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<input type="hidden" name="co" value="pool" />
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Error Line 26 column 46: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<input type="radio" name="odp" value="tak" /> Tak<br />
Error Line 26 column 48: character data is not allowed here.
<input type="radio" name="odp" value="tak" /> Tak<br />
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
Error Line 26 column 56: document type does not allow element "br" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<input type="radio" name="odp" value="tak" /> Tak<br />
Error Line 27 column 46: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<input type="radio" name="odp" value="nie" /> Nie<br />
Error Line 27 column 56: document type does not allow element "br" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<input type="radio" name="odp" value="nie" /> Nie<br />
Error Line 28 column 40: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<input type="submit" value="Głosuj!" />
Co jest nie tak? Proszę o pomoc.
Pozdrawiam.