Module 004 · 25 min
Introduction to Website Development
Create your own offline page with HTML and CSS, then follow a webpage from server to browser.
Learn
How computers communicate
The internet connects many networks. Information usually travels in pieces called packets. An IP address helps route those packets. DNS (Domain Name System) can look up an IP address for a name, a bit like looking up a number in an address book.
Browsers and websites
A browser is an app that displays webpages. A website is a collection of related pages and resources. Usually the browser asks a server for a webpage over HTTPS. HTTPS protects the connection, while you still need to decide whether to trust the site itself.
HTML and CSS
HTML describes the content and structure of a page, such as headings and paragraphs. CSS controls how that content looks. A browser can open an HTML file from your own computer without an internet connection.
Save as index.html
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dragon Field Notes</title>
<style>
body { background: #101510; color: #d4f8da; font: 1.2rem system-ui; padding: 2rem; }
</style>
<h1>Dragon Field Notes</h1>
<p>Today I made my first offline webpage.</p>
</html>Practise
- In a plain-text editor, save the example as index.html. Check that it ends with .html.
- Open that file in a browser. Change the heading and one CSS colour, save, then reload.
- Explain how opening your offline page differs from asking a server for a webpage.
Check your understanding
DNS can look up an address that helps your browser reach the right server. CSS describes appearance, including colours and spacing.Completion checklist
Tick each item when you can do it. Finish the checklist to earn the Web Maker badge.