Validation (again)
-
I’m working on a new theme and of course I’ve got a few things put in during my trial-and-error coding that the Validator doesn’t like:
`<div id=”hmenu”>
-
<?php wp_list_pages(‘title_li=&depth=1’) ?> – <?php wp_list_bookmarks(‘title_li=&categorize=0’) ?>
</div>`
That dash can’t be there like that, but I want something to divide the pages from the “blogroll”. How should I ‘wrap it up’?
Also, I get this error form W3:
Line 398, Column 4: document type does not allow element “li” here; missing one of “ul”, “ol”, “menu”, “dir” start-tag.
<li><a href="https://www.gangleri.nl/bookreviews">book reviews</a></li>
And that error for every link from the “blogroll”. I did use
ul
, but I suppose I forgot something else (in the stylesheet perhaps?).There are some other errors, but I guess most of them disappear when the things above are solved.
- The topic ‘Validation (again)’ is closed to new replies.