Run html code live

HTML & CSS · Lesson 1 of 3

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

  1. Edit the code on the left (or top on a phone).
  2. Press Run to update the result.
  3. 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>.

Test what you learned

1 free HTML test with instant scores.

Take a HTML test

More HTML & CSS lessons

Quick guide

Learn it in a course

WhatsApp us