To find the results of the following four tests, find to which URIs the UA thinks the links point. If they point to "002.html", then the result is "doc", if they point to "base" then the result is "base", and if they point to the directory, the result is "./". See the table below for the expected results.

Empty: "" (should be doc)

Path: "p" (should be ./p)

Query: "?q" (should be base?q)

Fragment: "#f" (should be doc#f)

Results

Empty Path Query Fragment Verdict
Gecko/20041217 base ./p base?q base#f out of date
Lynx 2.8.5rel.1 doc ./p ./?q doc#f out of date
Opera 7.60 base ./p base?q base#f out of date
WinIE 6 ./ ./p base?q base#f buggy
RFC1808 base ./p base?q base#f obsoleted
RFC2396 doc ./p ./?q doc#f obsoleted
RFC3986 doc ./p base?q doc#f spec

See also the same test without a BASE HREF.