GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • MDN
  • HTML: Markup language
  • Elements
  • Global attributes
  • Attributes
  • See all…
  • Responsive images
  • HTML cheatsheet
  • Date & time formats
  • See all…
  • SVG
  • MathML
  • XML
  • CSS: Styling language

This view

  • Original page
  • New address

GeezerVison is showing developer.mozilla.org — URI query - URIs | MDN

URI query

The query of a URI is the section that comes after the path. It contains non-hierarchical data to identify a resource within the scope of the URI's scheme and naming authority along with data in the path component.

Syntax

url
?query
query

A sequence of any characters, except for the # character, which starts the fragment. The exact format of the query is defined by the resource itself.

Description

Consider the following URL:

url
http://www.example.com:80/path/to/myfile.html?key1=value1&key2=value2#SomewhereInTheDocument

?key1=value1&key2=value2 is the query component containing parameters for the web server to process. The specific parameters in the example are a list of key/value pairs separated by the & symbol. Web servers can use the parameters to modify responses, like applying filtering, search, or sorting results, although this is implementation-specific.

Specifications

Specification
Unknown specification
# section-3.4

See also

  • URIs

Help improve MDN

Learn how to contribute

This page was last modified on Jun 22, 2026 by MDN contributors.

View this page on GitHub • Report a problem with this content
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.