How to mark up tag clouds?


Good question; I don't know ;]

Say you have these tags, categories or whatever.


Alphabetically ordered

Yeah, why use CSS for this at all? This is way uglier! :-)


There are 9 items and 2 elements; SMALL and BIG. So each side gets 4 items of each, or something. Here's the idea in some code:

<ul>
 <li><a href="#"><big><big><big>Eight</big></big></big></a></li>
 <li><a href="#">Five</a></li>
 <li><a href="#"><small>Four</small></a></li>
 <li><a href="#"><big><big><big><big>Nine</big></big></big></big></a></li>
 <li><a href="#"><small><small><small><small>One</small></small></small></small></a></li>
 <li><a href="#"><big><big>Seven</big></big></a></li>
 <li><a href="#"><big>Six</big></a></li>
 <li><a href="#"><small><small>Three</small></small></a></li>
 <li><a href="#"><small><small><small>Two</small></small></small></a></li>
</ul>

Not too beautiful if you've got like 100+ tags, but it's valid :-)


Or with less differences between tags:


Or inline: