I recently added a tag cloud using the following code to the sidebar in the Paalm theme:
<?php if ( function_exists('wp_tag_cloud') ) : ?>
<li>
<h2>Popular Tags</h2>
<ul>
<?php wp_tag_cloud('smallest=8&largest=22'); ?>
</ul>
</li>
<?php endif; ?>
After doing so my blog fails its XHTML transitional validation with the these errors:
Line 283, Column 124: document type does not allow element "a" here; assuming missing "li" start-tag.
…cs' rel="tag" style='font-size: 8pt;'>3Dfx
Line 417, Column 143: end tag for "li" omitted, but OMITTAG NO was specified.
…yle='font-size: 8pt;'>YouTube
Exact picture here
Is this something I am doing or a bug in the tag cloud?
Many thanks