Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [xhtml] form + w3c
Zajec
post
Post #1





Grupa: Zarejestrowani
Postów: 1 086
Pomógł: 8
Dołączył: 10.12.2003

Ostrzeżenie: (0%)
-----


Kodzik:
[xml:1:6aa86b98d9]<div class="tresc2">
<form action="index.php" method="post" style="display:inline;">

<span class="text2">Login: <input type="text" name="loginek" size="10" /> </span>
<br />
<span class="text2">Hasło: <input type="password" name="haselko" size="10" /> </span>
<br />
<br />
<input type="hidden" name="co1" value="loguj" />
<input type="submit" name="Zaloguj" value="Zaloguj" />

</form>
</div>[/xml:1:6aa86b98d9]

I niestey validator znów mnie nie lubi :wink:
Cytat
Line 63, column 19: document type does not allow element "span" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset" start-tag
<span class="text2">Login: <input type="text" name="loginek" size="10" /> </sp..

Line 64, column 5: document type does not allow element "br" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset" start-tag
<br />

Line 65, column 19: document type does not allow element "span" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset" start-tag
<span class="text2">Hasło: <input type="password" name="haselko" size="10" /> <

Line 66, column 5: document type does not allow element "br" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset" start-tag
<br />

Line 67, column 5: document type does not allow element "br" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset" start-tag
<br />

Line 68, column 47: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag
<input type="hidden" name="co1" value="loguj" />

Line 69, column 53: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag
<input type="submit" name="Zaloguj" value="Zaloguj" />

Line 71, column 6: end tag for "form" which is not finished (explain...).
</form> </div>


Czy umielibyście powiedzieć dlaczego ? :?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Pedros
post
Post #2





Grupa: Zarejestrowani
Postów: 28
Pomógł: 0
Dołączył: 17.04.2004
Skąd: Wrocław

Ostrzeżenie: (0%)
-----


Zajec, w takim razie kod, już po przetworzeniu przez serwer: [xml:1:10419e543c] Ocena: <object><form method="post" action="schematy.php"><p class="form"><input type="hidden" name="ID" value="237"/>8.44 (Ilość głosów: 25)<select size="1" name="ocena" class="pole">
<option value="0">Wybierz</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>

<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>

</select><input type="submit" class="pole" value="OK"/></p></form></object>[/xml:1:10419e543c]

Nie ma tu żadnego błędu w tych $poj, problem powoduje sam formularz... Dominik.... pomożesz??
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 27.12.2025 - 00:42