Solice UI
Back to the curriculum

Chapter 1 · How the Web Works

URLs and navigation

A URL is a precise address for something on the Web. Reading its parts helps you understand where a link goes, what resource it asks for, and which information the page receives.

Beginner · Lesson 2 of 6 in this chapter

An address has meaningful parts

The protocol says how to connect, the domain names the site, and the path identifies a page or resource. A query can add optional input, while a fragment points to a place inside the returned document.

Navigation creates a new request

Following an ordinary link asks the browser to load its destination. A fragment-only link can move within the current document, while client-side applications may update the visible page without replacing the whole document.

Reading a search URL

  1. The domain identifies the search site.
  2. The path selects its search page.
  3. The query carries the words you entered, and an optional fragment can jump to a result section.
  • A URL is more than a domain name.
  • Paths and queries identify different resources or inputs.
  • Links should truthfully describe and reach their destinations.