Before you launch a website, you will need to work with both domain names and full URLs. These two concepts overlap but answer different questions, and mixing them up can cause confusion when you share links or configure settings. This article walks through a single hypothetical address so you can see each part clearly.

What a Domain Name Answers and What a Full URL Answers

A domain name provides a human-readable address for a web server available on the Internet. Computers reach each other through IP addresses, but those numeric strings are hard for people to remember and may change over time. Domain names solve that problem by giving each server a memorable label made of letters, digits, and hyphens separated by dots.1

A URL goes further. It is the address of a unique resource on the internet and tells the browser not only which server to contact but also which specific resource to retrieve from that server. In theory, each valid URL points to a unique resource. The domain name is one component inside a URL, but a full URL also includes a scheme, and it may include a path, parameters, and a fragment.2

For this article we will work with one hypothetical address to practice reading each part: https://example.org/notes/first-page?view=compact#intro — This string is invented purely for the exercise of breaking apart a URL. It does not point to a real page, and no server is expected to respond to it. The goal is only to identify what each segment of the string represents so you can apply the same reading skill to your own project addresses.

Labeling Each Part of the Example Address

Write out the full string https://example.org/notes/first-page?view=compact#intro on a line by itself and mark the boundaries between its parts. The scheme is https, which appears before the :// separator and indicates the protocol the browser must use to request the resource. The authority section follows the separator and here consists of the domain name example.org. The path is /notes/first-page, which comes after the domain and identifies a specific resource location on that server.2

The question mark introduces the query portion. In this example the query is view=compact, a key-value pair that provides extra parameters to the server. The hash symbol introduces the fragment. Here the fragment is intro, which acts as a bookmark inside the resource itself and is never sent to the server with the request. Remembering these two delimiters — the question mark for query and the hash for fragment — lets you parse any URL you encounter.2

Notice that the domain example.org itself has internal structure. The final component org is the top-level domain, and example is the label that precedes it. Together they form the host portion that a browser uses to locate the correct server. The TLD is the most generic part of a domain name and often serves as a clue to the purpose or category of the site.31

Comparing Paths and Queries While the Host Stays the Same

Now keep the host portion example.org unchanged and alter only the path. If the address becomes https://example.org/notes/second-page?view=compact#intro, the browser still contacts the same server, but the path segment now reads /notes/second-page instead of /notes/first-page. The string difference is confined to the path; everything before and after it remains identical. This illustrates that the path is the part of the URL that distinguishes one resource from another on the same host.

Next, change the query while keeping the path fixed. If the address reads https://example.org/notes/first-page?view=full#intro, the path is still /notes/first-page but the query now says view=full instead of view=compact. The query string is a list of key-value pairs separated by the ampersand symbol when there are multiple pairs. Here there is only one pair, so no ampersand appears. The query provides extra parameters that the server can use before returning the resource, though each server has its own rules about how it handles them.2

Finally, remove the fragment entirely: https://example.org/notes/first-page?view=compact — The string is shorter, but the scheme, host, path, and query are all unchanged. The fragment only affects where the browser scrolls within the returned document; it does not change which resource is requested. Observing these small string differences helps you describe precisely what changed when a link stops working or when you need to update an address in your content.

Building an Address Description Card for a Hypothetical Project

Record the following information on a single card or note for any address you plan to use. Start with the purpose of the page in one short sentence, for example: “This page displays a compact list of project notes.” Then write the full address exactly as it should appear: https://example.org/notes/first-page?view=compact#intro. Below that, list each labeled part on its own line: scheme, host, path, query, and fragment. This card becomes your reference whenever you need to explain the address to a collaborator or check whether a link matches your intention.

The value of this exercise is not in the specific example but in the habit of separating the address into named components before you use it anywhere. When you later create real pages for your own site, you can repeat the same card format. If your project has a notes section at /notes/ and a gallery section at /gallery/, each page gets its own card with the same host but a different path. The query and fragment may or may not appear depending on what the page needs.

Keep the language on the card plain. Avoid abbreviations that only you understand six months later. If you choose to include a short note about why a particular query parameter exists, write it in the same plain style. The card is a communication tool, not a technical specification, so clarity matters more than completeness.

Verifying the Card by Manual Copying and Labeling

Check your description card by copying the full URL from the card into a plain-text editor and then labeling each segment directly in the text. Place a comment or bracket after each boundary: mark where the scheme ends, where the host ends, where the path begins and ends, where the question mark introduces the query, and where the hash introduces the fragment. If any boundary is unclear or if a segment is missing from your card, update the card before you move on.

Use a second pass to verify spelling and punctuation character by character. A missing slash between the host and the path, or an extra question mark inside the query, will produce a different string than you intended. Because this example is hypothetical, you are not testing whether a server responds; you are only confirming that the string on your card matches the string you labeled. This habit transfers directly to real projects where a single typo in a shared link can send visitors to the wrong place.

If you find a discrepancy, note what it was and correct it on the card. Over time this manual checking becomes quick, and you will catch common mistakes — such as confusing the question mark with the hash or forgetting the leading slash in a path — without needing to write out every label. The point of the exercise is to build that automatic recognition through deliberate practice on a safe, hypothetical example.

Keeping Your Address Notes for Future Reference

Store the completed card somewhere you will actually look at it when writing content or configuring links for your site. A simple text file inside your project folder works well because it stays close to the other files you edit. If you prefer a note-taking application, keep one note per project and list all the address cards together so you can scan them quickly.

When you eventually replace the hypothetical example with your real domain and real paths, the card format stays the same. You update the host, adjust the path to match your actual page structure, and add or remove query parameters and fragments as needed. The labeling skill you practiced here applies unchanged. If your site grows to include many pages, the collection of cards doubles as an inventory of every address you have planned or published.

You may also find the cards useful when communicating with other people about your site. Instead of pasting a long URL into a message and hoping the recipient parses it correctly, you can share the card with its labeled parts. This is especially helpful when asking for feedback on a specific page or when describing a link structure to someone who is less familiar with how URLs are built. The record you keep is a small but practical investment in clear communication around your project.

Frequently asked questions

Is the example address https://example.org/notes/first-page?view=compact#intro a real page I can visit?

No. That address is a hypothetical string created only for the exercise of identifying each URL component. It does not point to a live page, and no server is expected to respond to it.

What is the difference between the query part and the fragment part of a URL?

The query follows the question mark and provides key-value parameters to the server. The fragment follows the hash symbol and acts as a bookmark inside the returned resource; it is never sent to the server with the request.2

Do I need to include the scheme every time I share a URL?

In a browser address bar the browser can fill in a default scheme if you omit it, but when you write a URL in documentation or share it with others, including the scheme makes the address complete and unambiguous.2