Process Overview
A URL (Uniform Resource Locator) is like an address for a webpage or resource on the internet. This flowchart shows how a URL is broken down into parts to find and display the right webpage.
Jump into concepts and practice - no test required
A URL (Uniform Resource Locator) is like an address for a webpage or resource on the internet. This flowchart shows how a URL is broken down into parts to find and display the right webpage.
+-------------------+ +------------------+ +----------------+
| Protocol | ---> | Domain | ---> | Port |
+-------------------+ +------------------+ +----------------+
| | |
v v v
+-------------------+ +------------------+ +----------------+
| Path | ---> | Query String | ---> | Fragment |
+-------------------+ +------------------+ +----------------+https://www.example.com:8080/path?query=123#sectionhttps://www.example.com:8080/path?query=123#section, the scheme is https.http://example.com:80, which correctly places port 80 after the domain with a colon.https://shop.example.com/products/item?id=12345&color=red#reviews/products/item, Query: ?id=12345&color=red. The fragment #reviews is not part of path or query.ftp//files.example.com/downloads/file.zipftp:.ftp// missing the colon after ftp. Correct form is ftp://.https://app.example.com/user/789), the section to show is a query parameter (?section=settings), and the fragment points to a page section (#settings).#settings. Others mix fragment and query incorrectly or mismatch sections.