Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: Walidacja atrybutu <li>
Forum PHP.pl > Forum > Po stronie przeglądarki
suchy1
Witam,

jak w temacie, podczas walidacji dokumentu dostałem taki komunikat:
  1. document type does not allow element "li" here; missing one of "ul", "ol" start-tag .
  2. <li><a href="index.html">Strona główna</a></li>
  3.  
  4. 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.
  5.  
  6. 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>").


rozumiem po czesci problem ale jak go naprawic ?
bełdzio
poprawic kod, nie majac linka do strony, nikt nic ciekawego nie napisze, trzeba zobaczyc gdzie w kodziesz masz blad i tyle
phpion
Cytat
missing one of "ul", "ol" start-tag

czyli na zapomniałeś o znaczniku otwierającym <ul>/<ol>.
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.