[wp-hackers] Tag cloud semantics

Matt Mullenweg m at mullenweg.com
Wed Jan 23 17:13:49 GMT 2008


Ryan McCue wrote:
> Is there any reason why wp_generate_tag_cloud() uses explicit font-sizes 
> rather than using classes? One would assume that for semantics it would 
> be better to use classes, like tag-highpop, etc. I'd be willing to 
> contribute a patch to this effect if needed, but was just wondering if 
> there was any reason to the thinking behind it.

What Tantek does is actually use the <big> and <small> elements, nested. 
He feels that's the most semantic use. You can see it in action on 
Technorati. (Not sure if it survived redesigns after he left.)

-- 
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://automattic.com | http://akismet.com


More information about the wp-hackers mailing list