
Originally Posted by
Mike
Originally Posted by jscheuer1
<span> is equivalent to <a> except that it cannot support an href attribute.
An a element defines a link, an anchor, or both (depending on its attributes). A span element defines nothing intrinsically as it's a generic element. They are hardly equivalent - a bad choice of words. Furthermore, there are many attributes that apply to a elements, but not to spans: charset, type, name, href, hreflang, rel, rev, accesskey, shape, coords, tabindex, focus, and blur.
Bookmarks