AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Addresses on the web

Week 13 · Unit 7.3: Connections are made · 3 lessons
2

Reading a URL

Computing 7: Unit 7.3, pp. 82–111
GoalName the parts of a URL and say why we use URLs instead of IP addresses.
New words
URL · the address of a web page or file, written in a set waydomain name · the easy-to-remember name of a website, such as www.example.comTLD · top-level domain: the last part of a domain name, such as .com or .orgpath · the part of a URL after the domain name that says which page or file you want
Explanation

A URL is the web address of a page or file. Names are simpler to remember than long strings of numbers, so we use URLs. A URL is written in a set way with several parts. It starts with the protocol, such as https, followed by ://. Next comes the domain name, such as www.example.com. The last part of the domain name is the top-level domain, or TLD. The path after the domain name says which page or file you want on that server. Common TLDs are .com for companies, .org for organisations and .net for networks, and many countries have their own.

PartIn https://www.example.com/shop/index.html
protocolhttps://
domain namewww.example.com
TLDcom (the last part of the domain name)
path/shop/index.html
Worked examples
PartValue
protocolhttps://
domain namewww.example.org
TLDorg
path/news/today.html
Another URL, taken apart. In https://www.example.org/news/today.html the protocol is https, the domain name is www.example.org, the TLD is org and the path is /news/today.html.
TLDMeaning
.comcommercial (companies)
.orgorganisation
.netnetwork
.keKenya
.uzUzbekistan
.brBrazil
Some top-level domains. Countries have their own two-letter TLD.
URLPage
https://www.example.com/cats/index.htmlcats page
https://www.example.com/dogs/index.htmldogs page
One server can hold many pages. The domain name stays the same and only the path changes.
Class activity

URL strips (no computer): cut paper into strips and write one part on each strip: https://, www.example.net, /games/, chess.html, .net. Mix them up and build a correct URL. Then invent a second site on example.org with two pages and write its URL parts on new strips. Swap strips with a partner and rebuild each other’s URLs. If you have a computer or tablet, ask an adult to show you the address bar of a page you already use, and find the protocol and the TLD without typing anything.

Practice
1
Name the parts of this URL: https://www.example.net/music/songs.html
PartYour answer
protocol?
domain name?
TLD?
path?
2
Ben typed https:/www.example.org/art club/index.html. Find two mistakes.
3
Why do people use URLs and not IP addresses to visit websites?
4
A school charity and a shop each want a web address. Which TLD (.com, .org or .net) is each likely to choose, and why?
TLDUsual meaning
.com?
.org?
.net?