Inspect shows HTML a links just like HTML span

They are both inline elements not containers. Use Firebug's inspect on the examples below. Note that the results for the elements #testlink and #testspan are similar.

An HTML a link around an image

An HTML span around an image

See also Firebug issue 2534 and bugzilla Bug 531818