Anchor text span when hovered

Thanks, Sir, on a different post I was advised to do it through an unordered list when there are many list items, but what I know is that:

<li><a href=""></a></li> that anchor text inside a li will be illegal. So think unordered list wont be a good method?