Skip to content
Justice Tech School

HTML Editors

You can write HTML in any plain text editor. Notepad works, but a code editor such as VS Code gives colours, auto-complete and error hints, which helps a lot.

Save the file with the .html extension, then open it in a browser. Refresh the browser each time you change the file. In this tutorial the Try it Yourself box does this for you.

Example
<h1>My first file</h1>
<p>Save me as index.html and open me in a browser.</p>
  • Name files in lowercase with no spaces, for example about-us.html.

Exercise

Which file extension does an HTML page use?

index.

Quiz Test

Which program can you use to write HTML?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.