w3c footer validation help!
-
i’ve solved all but ONE of my w3c XHTML errors. The last one resides in my footer. i have a few links for “about us”, “contact”, etc. and need them centered. Here is my current code from footer.php:
</body>
<div align='center'>
<p></p>
<a href="https://www.undertheblackhat.com/contact">contact</a>
<a href="https://www.undertheblackhat.com/credits">credits</a>
<a href="https://www.undertheblackhat.com/disclaimer">disclaimer</a>
<a href="https://www.undertheblackhat.com/policies">policies</a>
</div>
</html>The resulting error from the W3C validator is:
Error Line 360 column 19: document type does not allow element "div" here.
<div align='center'>I’ve discovered that the regular <center> code has been deprecated. Is there an easy solution for this?
- The topic ‘w3c footer validation help!’ is closed to new replies.