Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [xhtml strict] dziwny komunikat walidatora
Fipaj
post
Post #1





Grupa: Zarejestrowani
Postów: 691
Pomógł: 0
Dołączył: 19.01.2005
Skąd: Warszawa

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


Cytat
This page is not Valid XHTML 1.0 Strict!

Below are the results of attempting to parse this document with an SGML parser.

  1.

      Line 58, column 42: 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="text" value="formularz" />

      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>").


Już miałem otwierać nowy temat na forum oceny z pięknym szablonem smile.gif, kiedy walidator mi głupi błąd pokazuje.

Mam sobie kod:

  1. <form action="" method="post">
  2. <input type="text" value="formularz" /> <!-- tu się validator uczepił -->
  3. </form>


No i walidator błąd wywala. Jakieś rady??...


--------------------
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
dr_bonzo
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

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


FIELDSET w form obejmujacy inputy


--------------------
Nie lubię jednorożców.
Go to the top of the page
+Quote Post
Fipaj
post
Post #3





Grupa: Zarejestrowani
Postów: 691
Pomógł: 0
Dołączył: 19.01.2005
Skąd: Warszawa

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


Dzięki smile.gif


--------------------
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 20.08.2025 - 17:22