When I hear a list, I expect there will be more than one item.
Is this ever a problem? Am I simply being semantically anal?
<h3>Search Results</h3>
<ul>
<li><a href="??">only one result</a></li>
</ul>
One child list item element doesn't really seem to be a list does it? Has anyone else ever thought about this too?
I think that it is OK to say that a list with just one element is still a list.
You might want to consider the list not just in terms of what it has, but in terms of what it is allowed to have.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With