Parts of a Website URL Explained: Scheme, Host, Path, Query and Fragment
Which part of a website address identifies the page? A URL can contain a scheme, host, path, query and fragment.
1:47 · No narration: the video shows each step as text on screen, and every step is written out below, with buttons that jump the video to it.
Prefer YouTube? Watch this video on our YouTube channel (opens in a new tab).
The six points in the video
This is a silent video. The headings, explanations and labels below reproduce the information on screen.
-
Step 2: The host names the destination
It can be a domain name or an IP address.
On-screen labels: Host component; Domain name; IP address.
-
Step 3: The path identifies a resource
The slash-separated path helps the service locate the requested content.
On-screen labels: Path component; Requested resource; Website route.
-
Step 4: A query supplies parameters
After a question mark, name-value parameters can add request information.
On-screen labels: Question mark; Parameter name; Parameter value.
-
Step 5: A fragment refers within content
After a hash sign, it can identify a section handled by the browser.
On-screen labels: Hash sign; Fragment identifier; Page section.
-
Step 6: Review the whole link
Check the destination and avoid sharing unnecessary private information.
On-screen labels: Correct host; Expected resource; Appropriate parameters.
A practical check for your business
Read each part of a shared address before changing or copying it. Check the scheme, hostname, path and any parameters against the destination and task the visitor expects.
Sources and further detail
Common questions
Which part of a website address identifies the page?
A URL can contain a scheme, host, path, query and fragment. Check the complete address before sharing or changing a link.
Go further
More video tips
All 205 videos →
Screen Readers Explained: How Website Structure Helps People Navigate
Screen readers, explained.
Semantic HTML Explained: Give Website Content the Right Meaning
Semantic HTML, explained.