

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Uniform Resource Identifiers
incomplete
2: Sections of a URL
incomplete
3: Further Dissecting a URL
incomplete
4: The Protocol
incomplete
5: URL Ports
incomplete
6: URL Paths
incomplete
7: Query Parameters
incomplete
This lesson's interactive features are locked, please to keep using them
There are 8 main parts to a URL, though not all the sections are always present. Each piece plays a role in helping clients locate the droids resources they're looking for.
| Part | Required |
|---|---|
| Protocol | Yes |
| Username | No |
| Password | No |
| Domain | Yes |
| Port | No (defaults to 80 or 443) |
| Path | No (defaults to /) |
| Query | No |
| Fragment | No |
Because names for the different sections are often used... sloppily... and because not all the parts of the URL are always present, it can be hard to keep things straight.
Don't worry about memorizing this stuff! Like any good developer, now that you know about URL sections, you can always look up the specifics again in the future when you need them.