Седнах днес да си валидирам страничките и ето какво ме спъна ..
Имам вертикално меню направено с <li> , но ми показва, че липсва елемент като ul", "ol", "menu", "dir". Като го добавя menu или dir не се оправя, а с ol или ul се оправя, но пък всеки бутон на менюто става като списък..
В css-а написах list-style: none; но не се получи. А и ето го менюто на което дава грешка:
<li><a href="index.php">Начало</a></li>
<li><a href="history.php">История</a></li>
.............
Давам +1
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>").
Имам вертикално меню направено с <li> , но ми показва, че липсва елемент като ul", "ol", "menu", "dir". Като го добавя menu или dir не се оправя, а с ol или ul се оправя, но пък всеки бутон на менюто става като списък..
<li><a href="index.php">Начало</a></li>
<li><a href="history.php">История</a></li>
.............
Давам +1