R
rf
brucie said:in post: <
RFC2606 is new and improved with only one third the fat so its healthier
for you.
But it does not talk about fragment identifiers, only TLDs.
but.. but.. but.. even if that is so a '#' and the fragment is not part
of a URI so a href="#" is an empty URI
Nope. herf="#" is not an empty URI, (well, the bit inside the "s isn't). It
is a URI consisting soley of an (according to the spec, or at least the
RFCs) invalid fragment identifier.
and we all know "an empty URI
reference within a document is interpreted as a reference to the start
of that document"
And we all know that just about all browsers interpret href="#" like that as
well.
The original thread(*) that prompted me to look that stuff up was about
reporting, as a bug, a browser that did not do that. There was a request to
cite the bit in the spec detailing what href="#" is supposed to do, so as to
srengthen the bug report. No such bit exists.
(*) Empty fragment identifier, <a href="#"> started by DU on June 28.