Give help. Get help.
I have thought about eliminating anchors from my site menu. I have tested it and it works fine.
and the HTML would be
<li class="somepage.html">Some page</li>
and it would link to somepage.html
would this be bad practice?
I don’t know, but I am curios as to what the purpose of the code is. What does it do?
I think it’s bad practice. A class atrribute is suppose to store class infromation, certainly not an anchor. Plus, why would you want to remove the need of anchor tag ? They’re here for a reason, use them :)
You must be logged in to reply to this topic.