Fragment identifier
A fragment identifier is added to a URI (and thus to a URL) for locally addressing parts of a document. The interpretation of the fragment depends on the type of ressource and the application that parses it. It is separated from the URI with a single character, usually an hash #
Examples
- In HTML applications,
www.foobar.org/schmoo.html#tag1will refer to the html-element containing the "anchor"-attributename="tag1"
- In XML applications,
www.foobar.org/schmoo.xml#xpointer(//Rube)<code> should employ an XPointer, returning all XML-elements named "Rube" from the file "schmoo.xml" on foobar.org
See also
Categories: Computer terminology