Coding task · HTML and CSS course · Module 2: The Web and HTML Elements

Breaking Down a URL

A URL is like a hieroglyphic address of a temple - each part has its own meaning! The protocol (https://) is the type of road (secure), the domain (www.google.com) is the city name, the path (/search) is the building location, and the parameters (?q=) are message details. Understanding URLs is key to navigating the internet.

Task

Create an HTML page that breaks the URL https://www.google.com/search?q=ancient+egypt into its component parts. Use <h2> headings for each section (Protocol, Domain, Path, Parameters) and explain in <p> what each part means. Also add a second example with an Egyptian museum website. Goal: The page should look like an ancient map with route descriptions!