I appreciate all help to get this to validate in MarkUp. My goal is mainly to learn how to write good code.
It is a simple <a>, anchor, in a <li>, list, and I read in google where some say it is okay to have, but I would prefer to have this page fully validate.
It may be worth mentioning how there is a js error right before this. It doesn't like the obsolete name tag. I was going to address that after this, but I am mentioning it to make sure it is not the cause of the invalidation of the below list anchor code.
Here is the error:
Element li not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
http://thefamilyhunters.atwebpages.com/classyShow.html
section of code:
Code:
<div id="Second">
<div id="TwoOne">
Your content here
<li><a href="../indexHunting.html">Your Links</a></li>
<li><a href="*">Your Links</a></li>
<li><a href="../indexHunting.html">Your Links</a></li>
</div>
<div id="TwoTwo">
Looks Good
<li><a href="../indexHunting.html">More Links</a></li>
<li><a href="../indexHunting.html">More Links</a></li>
<li><a href="../indexHunting.html">More Links</a></li>
</div>
<div id="TwoThree">
Thank You Lord Jesus
<li><a href="../indexHunting.html">More Links</a></li>
<li><a href="../indexHunting.html">More Links</a></li>
<li><a href="../indexHunting.html">More Links</a></li>
</div>
<div id="TwoFour">
One More
<li><a href="../indexHunting.html">More Links</a></li>
<li><a href="../indexHunting.html">More Links</a></li>
<li><a href="../indexHunting.html">More Links</a></li>
</div>
</div>
I can add the full css sheet, if you would like. I didn't believe it was necessary because I should be able to validate the markup without the css. Correct me right, if I thought wrong.