Hi!
<a> braucht als "container"-Element Inhalt. Ein leer stehendes <a> gibt es nach HTML-Standard nicht.
Falsch: http://www.w3.org/TR/html4/struct/links.html#h-12.2 man beachte in <!ELEMENT A - - (%inline;)* -(A) -- anchor --> für den Inhalt das *.
jaja, doch wenn ich ebenfalls diese Seite zitieren darf:
"Note. User agents should be able to find anchors created by empty A elements, but some fail to do so. For example, some user agents may not find the "empty-anchor" in the following HTML fragment:
<A name="empty-anchor"></A>
<EM>...some HTML...</EM>
<A href="#empty-anchor">Link to empty anchor</A>"
Ein Browser der solche Probleme macht ist zum Beispiel der recht weit verbreitete IE 5 am Mac
Wenngleich Du im Grunde Recht hast.
gruß, e.