Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Walidacja atrybutu <li>
suchy1
post
Post #1





Grupa: Zarejestrowani
Postów: 246
Pomógł: 8
Dołączył: 2.04.2006
Skąd: Gliwice

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


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 ?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
phpion
post
Post #2





Grupa: Moderatorzy
Postów: 6 072
Pomógł: 861
Dołączył: 10.12.2003
Skąd: Dąbrowa Górnicza




Cytat
missing one of "ul", "ol" start-tag

czyli na zapomniałeś o znaczniku otwierającym <ul>/<ol>.
Go to the top of the page
+Quote Post

Posty w temacie
- suchy1   Walidacja atrybutu <li>   21.09.2008, 16:23:24
- - bełdzio   poprawic kod, nie majac linka do strony, nikt nic ...   21.09.2008, 16:54:41
- - phpion   Cytatmissing one of "ul", "ol...   21.09.2008, 17:24:23


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: 15.10.2025 - 15:11