GoalName the protocol, domain name and path of a web address and say what each part does.
New words
URL · the address of a web pageprotocol · the set of rules used to fetch the page, such as https://domain name · the name that tells you which organisation owns the sitepath · the part after the domain that points to one page or folder
Explanation
Every web page has an address called a URL. A URL has parts, and each one has a job. The protocol comes first, for example https://, and says how the page is fetched. Next comes the domain name, such as www.example.com. It names the site and its owner. The path follows, for example /shop/index.html, and points to one page inside the site, much like a folder and a file. Reading a URL slowly takes only a few seconds, and it tells you where a link would take you before you go there. In these lessons all addresses are made-up teaching names such as example.com. You should never visit an address just because a lesson shows it.
Worked examples
A page of the invented Sunrise Library. Its address has a protocol, a domain name and a path, and each part has its own job.
The path works like a route inside a building. Here it points to a children’s section.
Address
Protocol
Domain name
Path
https://www.example.org/menu/cakes
https://
www.example.org
/menu/cakes
A table helps to take an address apart.
Class activity
Address cards (on paper). Write ten invented addresses on strips of paper, all using example.com, example.org or example.net, such as https://www.example.org/menu/bread. Cut each into three pieces with scissors: protocol, domain name, path. Mix the pieces from two addresses and rebuild each address. Then write the three parts of a new address for an invented bakery, bus company or zoo. Swap with a partner, who labels the parts with colours: red for protocol, blue for domain, green for path. Do not visit any address.
Practice
1
Label the parts of https://www.example.net/timetables/route4.