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
Dominik
post
Post #2





Grupa: Zarejestrowani
Postów: 339
Pomógł: 0
Dołączył: 17.06.2003
Skąd: Białystok

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


Cytat
Wstaw przed formularz znacznik <object>

No nie zlitujcie sie. Sorry ze odpowiadam tak pozno ale przez te dni rotflowalem z tego. Zbłąkany masz u mnie piwo za fantacje. Znacznik object w takiej konstrukcji, przeziez to totalna glupota, jak mozna bylo co takiego wymyslic. To jakis burdel, a ze walidator to lyka to tylko dla tego ze nikt nie pomyslal ze ktos wpasnie na cos takiego. Apeluje nie sluchascie takiejs _taniej_ sciemy. Szybciej moge przyjac opcje jak ktos mi karze skoczyc z wiezowca niz to tego ze formulaz wstawiony jako alternatywny kod do obkieku ma jakikolwiek sens. Naprawde nie spodziewalem sie, ze dozyje czasow, gdy taki kod zobacze.
Apeluje jeszcze raz pomyslnie najpierw a nie robcie ctrl +c i do walidatora. Bo object ma sie tak do form jak majkel dzordan do bin ladena. (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
PS to ja juz wole takie cos: <b><table></b><table> (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif) (IMG:http://forum.php.pl/style_emoticons/default/laugh.gif)
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 - 03:58