Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Problem z walidacją
#3
Nie wiem czy wszystkie znaczniki udało mi się usunąć:

<?xml version="1.0" encoding="iso-8859-2"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<meta http-equiv="Content-type" content="application/xhtml+xml; charset=iso-8859-2" />
<meta name="Description" content=" [Królestwo Zwierząt] " />
<meta name="Keywords" content=" [Królestwo Zwierząt] " />
<meta name="Author" content=" [ja] " />
<meta name="Generator" content="kED" />

<title> Królestwo Zwierząt</title>

<link rel="stylesheet" href="style2.css" type="text/css" />
</head>
<body>

<h1> Królestwo Zwierząt </h1>

<ol>
<li>Primates NACZELNE</li>
</ol>
<ul>
<li>Simiae MAŁPY WŁAŚCIWE</li>
<ol>
<li>Ceboidea MAŁPY NOWEGO ŚWIATA</li>

<li>Cercopithecoidea</li>

<li>HOMINOIDEA</li>
</ol>

<ul>
<li>PONGIDAE</li>
<ol>
<li>Hylobatinae</li>
<ol>
<li>Hylobates GIBBON (6 gatunków)</li>
<li>Symphalangus SIAMANG (1 gatunek)</li>
</ol>

</ol>
<ol>
<li>Ponginae</li>

<li>Pongo ORANGUTAN</li>
<ol>
<li>Pongo pygmaeus</li>

<li>P. pygmaeus pygmaeus</li>
<li>P. pygmaeus abelii</li>


</ol>

<li>Pan SZYMPANS</li>
<ol>
<li>Pan troglodytes</li>
<ol>
<li>P. troglodytes troglodytes</li>
<li>P. troglodytes schweinfurtnii</li>
<li>P. troglodytes verys</li>
</ol>

<li>Pan paniscus</li>
</ol>

<li>Gorilla GORYL</li>
<ol>
<li>Gorilla gorilla</li>
<ol>
<li>G. Gorilla gorilla</li>
<li>G. gorilla beringei</li>
</ol>

</ol>



</ol>


<li>HOMINIDAE</li>

<ol>
<li>Homo CZŁOWIEK</li>
<li>Homo Sapiens</li>

</ol>




<ol>
<li>Prosimiae MAŁPIATKI, LEMURY, WYRAKI</li>
</ol>
</body>
</html>








Dodam jeszcze jakie błędy pojawiają się:

1. Line 24, Column 5: document type does not allow element "ol" here; assuming missing "li" start-tag
<ol>
2. Line 34, Column 5: document type does not allow element "ol" here; assuming missing "li" start-tag
<ol>
3. Error Line 36, Column 6: document type does not allow element "ol" here; assuming missing "li" start-tag
<ol>
4. Line 41, Column 7: end tag for "li" omitted, but OMITTAG NO was specified
</ol>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
5. Line 46, Column 6: document type does not allow element "ol" here; assuming missing "li" start-tag
<ol>
6. Line 55, Column 6: document type does not allow element "li" here; missing one of "ul", "ol" start-tag
<li>Pan SZYMPANS</li>
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>").
7. Line 58, Column 7: document type does not allow element "ol" here; assuming missing "li" start-tag
<ol>
8. Line 64, Column 7: document type does not allow element "li" here; missing one of "ul", "ol" start-tag
<li>Pan paniscus</li>
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>").
9. Line 65, Column 9: end tag for "li" omitted, but OMITTAG NO was specified
</ol>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
10. Line 67, Column 6: document type does not allow element "li" here; missing one of "ul", "ol" start-tag
<li>Gorilla GORYL</li>
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>").
11. Line 70, Column 7: document type does not allow element "ol" here; assuming missing "li" start-tag
<ol>
12. Line 75, Column 9: end tag for "li" omitted, but OMITTAG NO was specified
</ol>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">"
13. Line 79, Column 5: end tag for "li" omitted, but OMITTAG NO was specified
</ol>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
14. Line 82, Column 8: document type does not allow element "li" here; missing one of "ul", "ol" start-tag
<li>HOMINIDAE</li>
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>").
15. Line 96, Column 7: end tag for "li" omitted, but OMITTAG NO was specified
</body>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
16. Line 96, Column 7: end tag for "ul" omitted, but OMITTAG NO was specified
</body>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
17. Line 96, Column 7: end tag for "li" omitted, but OMITTAG NO was specified
</body>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
18. Line 96, Column 7: end tag for "ul" omitted, but OMITTAG NO was specified
</body>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
Odpowiedz


Wiadomości w tym wątku
Problem z walidacją - przez klucha25 - 26-11-2011, 05:17
RE: Problem z walidacją - przez artux - 26-11-2011, 15:11
RE: Problem z walidacją - przez klucha25 - 26-11-2011, 21:33
RE: Problem z walidacją - przez Kartofelek - 27-11-2011, 00:53
RE: Problem z walidacją - przez klucha25 - 27-11-2011, 04:15
RE: Problem z walidacją - przez Kartofelek - 27-11-2011, 14:31
RE: Problem z walidacją - przez klucha25 - 27-11-2011, 18:13
RE: Problem z walidacją - przez Kartofelek - 27-11-2011, 18:31

Podobne wątki…
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  walidacja formularza hieroshima 2 2,123 02-08-2012, 13:49
Ostatni post: hieroshima
  Ponowny problem z walidacją klucha25 12 7,747 12-12-2011, 03:17
Ostatni post: Kartofelek
  Walidacja html Jozeph 11 8,174 11-11-2010, 18:24
Ostatni post: Pedro84
  walidacja... problem z linkiem yozz84 5 3,675 22-02-2010, 21:44
Ostatni post: yozz84
  [XHTML 1.0] walidacja a znaczniki <ol> <li> <ul> Motaba 2 2,599 11-12-2009, 13:49
Ostatni post: Motaba

Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości
Sponsorzy i przyjaciele
SeoHost.pl