The best way to learn HTML is to try it. Type or change the code in the box below, then press Run to see the result straight away. Nothing is saved or sent anywhere, so experiment freely.
How to use the editor
- Edit the code on the left (or top on a phone).
- Press Run to update the result.
- Press Reset to return to the starting example.
Things to try
- Change the heading text and the colour.
- Add a second paragraph with
<p>. - Make a list with
<ul>and<li>. - Add a link with
<a href="https://example.com">Click</a>.
