|
Posted by Jukka K. Korpela on 03/25/07 14:15
Scripsit Toby A Inkster:
> Or that a link such as '<a href="#">' is not *supposed* to do anything
> according to RFC 1738, which states that the fragment identifier is
> *after* the hash character, so the link is equivalent to '<a
> href="">' which is equivalent to '<a>', so shouldn't do anything. :-)
As regards to generic URL (URI) syntax, which is what your statement is
about, RFC 1738 was obsoleted in August 1998 by RFC 2396, which itself was
obsoleted by RFC 3986 in January 2005.
By the specifications, <a href="#"> is indeed equivalent to <a href="">, but
this in turn is not dummy but "same-document reference", a link to the
document itself, and normally interpreted as referring to the _start_ of
document.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|