Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [xhtml strict] dziwny komunikat walidatora
Forum PHP.pl > Forum > Po stronie przeglądarki > HTML \ XHTML
Fipaj
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??...
dr_bonzo
FIELDSET w form obejmujacy inputy
Fipaj
Dzięki smile.gif
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.