Absolute addresses
http://host/pathorhttp://host:port/path.https://..., through an HTTPS proxy.- A client may accept a bare
host/pathtyped by the reader, ashttp://host/path.
Relative addresses
Resolved against the current page’s final address (after any redirects), following RFC 3986, section 5.2. . and .. steps are removed, and .. never goes above the host’s root. In a stylesheet, addresses are resolved against the stylesheet’s own address.
| Address | On page http://example.com/games/list.8tml leads to |
|---|---|
news.8tml |
http://example.com/games/news.8tml |
/about.8tml |
http://example.com/about.8tml |
../index.8tml |
http://example.com/index.8tml |
../../top.8tml |
http://example.com/top.8tml |
?page=2 |
http://example.com/games/list.8tml?page=2 |
c64/ |
http://example.com/games/c64/index.8tml |
#top |
the current page (see Fragments below) |
Rules
- A bare host or a path ending in
/loadsindex.8tmlfrom there. - Addresses keep their case; clients send them exactly as written.
- Links with a scheme other than
httporhttpsare shown but can’t be followed.
Fragments
8TML 1 has no anchors. Before sending a request, the client drops # and everything after it. A link that is only a fragment, such as #top, points to the current page; the client may show it from the top without loading it again.