Connected: An Internet Encyclopedia
RFC 1866 - 7.4. Fragment Identifiers

Top: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1866
Up: 7. Hyperlinks
Prev: 7.3. Simultaneous Presentation of Image Resources
Next: 7.5. Queries and Indexes

### 7.4. Fragment Identifiers

Any characters following a `#' character in a hypertext address constitute a fragment identifier. In particular, an address of the form `#fragment' refers to an anchor in the same document.

The meaning of fragment identifiers depends on the media type of the representation of the anchor's resource. For `text/html' representations, it refers to the <A> element with a NAME attribute whose value is the same as the fragment identifier. The matching is case sensitive. The document should have exactly one such element. The user agent should indicate the anchor element, for example by scrolling to and/or highlighting the phrase.

For example, if the base URI is `http://host/x/y.html' and the user activated the link denoted by the following markup:

       <p> See: <a href="app1.html#bananas">appendix 1</a>
       for more detail on bananas.

Then the user agent accesses the resource identified by `http://host/x/app1.html'. Assuming the resource is represented using the `text/html' media type, the user agent must locate the <A> element whose NAME attribute is `bananas' and begin navigation there.

Next: 7.5. Queries and Indexes

Connected: An Internet Encyclopedia
RFC 1866 - 7.4. Fragment Identifiers