Return Receipt
Your [WSG] Anchor tag without href
document
hi ,
could anyone tell me whether an anchor tag can be used without href according
to webstandads?
a id=rateme img src=somepath alt=/a
Thanks and regards
Naveen Bhaskar
Return Receipt
Your [WSG] Anchor tag without href
document
Return Receipt
Your [WSG] Anchor tag without href
document
Hi Naveen,
Sure you can for named anchors with document fragment identifiers, but AFAIK
all modern browsers (and I'm not sure which ones if any didn't) support the
use of using *any* HTML element to link to using a doc frag ID.
For example the URL:
http://www.example.com#contact
could link to:
Don't forget that old school named anchors actually used the name
attribute...
a name=some_targetthe target/a
Then linked to it the same way you would for any tag with an id...
a href=#some_targetclick here/a
I think IE6 still requires this technique.
On Tue, Oct 27, 2009 at 3:15 PM,