HTML lessons: build your first web page

Start web development with RunPy’s HTML Basics course. The first lesson, Your First Web Page, introduces HTML through practical tasks in a browser-based editor with live preview. Web projects support HTML pages, CSS stylesheets, JavaScript files and images. Further HTML lessons and dedicated CSS and JavaScript lessons are planned and currently marked coming soon in the catalogue.


What you'll learn

  • Create your first HTML page
  • Use opening and closing tags
  • Write page content and preview the result
  • Work with HTML, CSS and JavaScript files in web projects
  • See upcoming topics in the HTML, CSS & JS lesson catalogue

Worked example

Create an HTML page in a web project and preview it

<!doctype html>
<html lang="en">
<head><title>My first page</title></head>
<body>
  <h1>Hello, world!</h1>
  <p>This is my first web page.</p>
</body>
</html>

Try a full unit free with a RunPy account

Sign up free and get the whole of Unit 1 (Input, Output and Variables) with checked tasks and instant feedback, plus a selection of the exam-style questions and the first two Python Turtle lessons, so you can practice on real GCSE-style content before upgrading.


Lessons in this unit

Full interactive lessons with checked tasks are available to signed-in RunPy users. Unit 1, the first two Turtle lessons and a selection of exam-style questions are free with a RunPy account.

  1. Your First Web Page

Frequently asked questions

Can I use JavaScript in RunPy?
Yes. Web projects support JavaScript files alongside HTML, CSS and images, with a live preview.
Are all the web lessons available?
Your First Web Page is available. Further HTML lessons and dedicated CSS and JavaScript lessons are currently marked coming soon.