<h1>Heading
The main title of a page. Use one clear <h1> to tell people what the page is about.
<h1>My game</h1>
The next step after Scratch
Scratch uses blocks. HTML uses short labels called tags to tell a web browser what each part of a page means.
Meet the elements<h1>Hello!</h1>
<p>I made this.</p>
<button>Click me</button>✦Your HTML toolbox
Think of HTML elements as labels. They help the browser understand what it should show.
<h1>The main title of a page. Use one clear <h1> to tell people what the page is about.
<h1>My game</h1>
<p>Normal sentences and explanations. Paragraphs make longer writing easier to read.
<p>Welcome!</p>
<button>A button gives somebody something to press. Give it a clear action word, like “Play” or “Start”.
<button>Play</button>
<a>A link takes someone to another page. The href tells it where to go.
<a href="page.html">Next</a>
<img>Shows a picture. Always add alt text so everyone can understand it.
<img src="cat.png" alt="A cat">
<ul>A bullet-point list. Put each list item inside its own <li> tag.
<ul><li>Idea</li></ul>
A closer look
An opening tag says “start this thing”. A closing tag has a slash and says “that thing is finished”. The words in the middle are the content people see.
Try it yourself
Start small: change the heading, then add your own paragraph.
Challenge: add <h2>My favourite game</h2> underneath the heading.