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
Zbłąkany
post
Post #2


Administrator serwera


Grupa: Developerzy
Postów: 521
Pomógł: 13
Dołączył: 2.04.2004
Skąd: 52°24' N 16°56' E

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


Wstaw przed formularz znacznik <object> i po </form> go zamknij a w formularzy przed pierwszym <input> wstaw jakis naglowek np <h5> i po ostatnim input go zamknij 8)
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: 26.12.2025 - 20:39