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 (1 - 2)
bełdzio
post
Post #2





Grupa: Zarejestrowani
Postów: 690
Pomógł: 81
Dołączył: 6.04.2005
Skąd: Szczecin

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


poprawic kod, nie majac linka do strony, nikt nic ciekawego nie napisze, trzeba zobaczyc gdzie w kodziesz masz blad i tyle
Go to the top of the page
+Quote Post
phpion
post
Post #3





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

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: 25.12.2025 - 07:02