I checked a couple of solutions for tabbed interfaces (including jQuery UI), and the markup always follows the same ul-li-a pattern:
<ul class="tabs"> <li><a href="#tab1">Title 1</a></li> <li><a href="#tab2">Title 2</a></li> </ul>
This is considered best practice and why? So far, I have always used span or div tags, and everything worked fine. Also, why are the tags "a"? Are they only here to cause freezes and active states in older browsers?
source share