Autor Zpráva
amigo
Profil *
Chcem vytvorit validny formular ale validator mi hlasi xybycky a ja si neviem rady vopred dakujem amigo....

<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen, print" />
<title>Privát Bobrovec 143</title>
</head>
<body>
<div id="centerColumn">
<div id="header">
<div id="navtabs">
<ul>
<li><a href="#.html" title="Úvod"><span>Úvod</span></a></li>
...nejake to menu
</ul>
</div>

</div>




<form method="post" action="nieco.php">

<p>Meno:</p>
<p><input type="text" name="meno" size="20" /></p>

<p>Priezvisko:</p>
<p><input type="text" name="priezvisko" size="20" /></p>

<p>E-mail:</p>
<p><input type="text" name="email" size="20" /></p>


<p>Od:</p>
<p>
<select name="odd" size="1">
<option value="">
<option value="1.">1</option>
<option value="2.">2</option>
<option value="3.">3</option>
<option value="4.">4</option>
<option value="5.">5</option>
<option value="6.">6</option>
<option value="7.">7</option>
<option value="8.">8</option>
<option value="9.">9</option>
...atd.
</select>

<select name="odm" size="1">
<option value="">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
...atd
</select>
</p>


<p>Váše požiadavky:</p>

<p><textarea rows="3" name="poziadavka" cols="40"></textarea></p>

<p><input type="submit" value="Odoslať" name="B1" />
<input type="reset" value="Vymazať" name="B2" />
<input type="hidden" name="Odeslano" value="true" /></p>

</form>

</div>
</body>
</html>
venca163
Profil
amigo
hoď sem rovnou i chyby co ti napsal validátor...každý to ocení
amigo
Profil *
This page is not Valid XHTML 1.0 Strict!

Below are the results of checking this document for XML well-formedness and validity.

1. Error Line 49 column 18: document type does not allow element "option" here.

<option value="1.">1</option>

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).


2. Error Line 50 column 18: document type does not allow element "option" here.

<option value="2.">2</option>


3. Error Line 51 column 18: document type does not allow element "option" here.

<option value="3.">3</option>


4. Error Line 52 column 18: document type does not allow element "option" here.

<option value="4.">4</option>


5. Error Line 53 column 18: document type does not allow element "option" here.

<option value="5.">5</option>


6. Error Line 54 column 18: document type does not allow element "option" here.

<option value="6.">6</option>


7. Error Line 55 column 18: document type does not allow element "option" here.

<option value="7.">7</option>


8. Error Line 56 column 18: document type does not allow element "option" here.

<option value="8.">8</option>


9. Error Line 57 column 18: document type does not allow element "option" here.

<option value="9.">9</option>


10. Error Line 58 column 19: document type does not allow element "option" here.

<option value="10.">10</option>


11. Error Line 59 column 19: document type does not allow element "option" here.

<option value="11.">11</option>


12. Error Line 60 column 19: document type does not allow element "option" here.

<option value="12.">12</option>


13. Error Line 61 column 19: document type does not allow element "option" here.

<option value="13.">13</option>


14. Error Line 62 column 19: document type does not allow element "option" here.

<option value="14.">14</option>


15. Error Line 63 column 19: document type does not allow element "option" here.

<option value="15.">15</option>


16. Error Line 64 column 19: document type does not allow element "option" here.

<option value="16.">16</option>


17. Error Line 65 column 19: document type does not allow element "option" here.

<option value="17.">17</option>


18. Error Line 66 column 19: document type does not allow element "option" here.

<option value="18.">18</option>


19. Error Line 67 column 19: document type does not allow element "option" here.

<option value="19.">19</option>


20. Error Line 68 column 19: document type does not allow element "option" here.

<option value="20.">20</option>


21. Error Line 69 column 19: document type does not allow element "option" here.

<option value="21.">21</option>


22. Error Line 70 column 19: document type does not allow element "option" here.

<option value="22.">22</option>


23. Error Line 71 column 19: document type does not allow element "option" here.

<option value="23.">23</option>


24. Error Line 72 column 19: document type does not allow element "option" here.

<option value="24.">24</option>


25. Error Line 73 column 19: document type does not allow element "option" here.

<option value="25.">25</option>


26. Error Line 74 column 19: document type does not allow element "option" here.

<option value="26.">26</option>


27. Error Line 75 column 19: document type does not allow element "option" here.

<option value="27.">27</option>


28. Error Line 76 column 19: document type does not allow element "option" here.

<option value="28.">28</option>


29. Error Line 77 column 19: document type does not allow element "option" here.

<option value="29.">29</option>


30. Error Line 78 column 19: document type does not allow element "option" here.

<option value="30.">30</option>


31. Error Line 79 column 19: document type does not allow element "option" here.

<option value="31.">31</option>


32. Error Line 80 column 8: end tag for "option" omitted, but OMITTAG NO was specified.

</select>

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".


33. Info Line 48 column 0: start tag was here.

<option value="">
habendorf
Profil
Máš vždycky blbě tu první option.
amigo
Profil *
4 habendorf: nj diki moc :) uz to ide
Toto téma je uzamčeno. Odpověď nelze zaslat.

0