Children use the web every day, but few know what actually happens when they type an address or tap a link. Understanding it makes learning HTML much more meaningful. Here's a simple version.
The library analogy
Imagine a huge library in another city. You write a request slip for a book, and a librarian finds it and sends a copy to you. The web works the same way:
- You are the person with the request slip.
- Your browser (Chrome, Safari, Firefox) writes the request.
- A server is a computer that stores websites, like a library shelf.
- The internet is the road that carries requests and replies.
What happens, step by step
- You type an address, like
tinycoderz.com. - Your browser looks up where it lives. Every website has a numeric address called an IP address, like a house number. A system called DNS acts like a phone book that turns names into numbers.
- Your browser sends a request to that server: "Please send me the page."
- The server replies with files: HTML, CSS, JavaScript and images.
- Your browser puts it together and shows you the page.
This usually takes a fraction of a second.
The three languages, in one sentence each
- HTML says what is on the page.
- CSS says how it looks.
- JavaScript says what it does.
The server sends all three, and the browser reads them. This is why you can build web pages with only a text file and a browser: the browser does the hard work.
What is a URL?
A web address is called a URL. In https://tinycoderz.com/learn/python:
httpsmeans the connection is secure.tinycoderz.comis the website's name./learn/pythonis the specific page.
What is "the cloud"?
It's just other people's computers. When you save a document "in the cloud," it's stored on a server somewhere instead of on your own device.
Why it matters for coding
When your child builds a page and sees it appear in the browser, they are doing what every website does, on a small scale. Showing them "View page source" (right-click, then View Source) reveals the HTML behind any page. Ask: "Can you spot the heading?"
Activities
- Open a favourite site and use View page source. Hunt for the title.
- Draw a picture of a request travelling from your device to a server and back.
- Visit the same page on your phone and laptop. Why might it look different? (Hint: browsers and CSS adapt it to the screen.)
Next steps
Build your own page with HTML for kids, then make it pretty with CSS. Or put it all together in a personal web page project.