Command Palette

Search for a command to run...

Hectal
Back to the lesson: Topic 0.1 — What a Website Really Is
HTML · Example 1 of 2

The smallest web page

Change the words between the tags and watch the preview update.

A website is a set of files kept on a computer called a server; your browser asks for them over the internet and turns them into the page you see.

Change the code and press Run (Ctrl+Enter). Predict what will happen first, then break it on purpose and read what changes. Your edits are saved and match the lesson page.

Ready for more? This phase has 3 hands-on exercises with automatic checks.

Practice questions

Write the code in the editor, run it, then open the model answer to compare.

01

Write the URL parts (protocol, domain, path) of https://developer.mozilla.org/en-US/docs/Web/HTML.

02

In the live example, add a second paragraph under the first one that says what a server is, in one sentence.

Explain it without notes

01

In your own words, what happens between typing a URL and seeing the page?

02

What are the three parts of https://hectal.in/html, and what does each tell the browser?

03

What does the status code 404 mean, and whose fault is it usually?

The smallest web page

Preview

Press Run to see the page.

Console

Nothing logged yet.