agyanadda@gmail.com

HTML Editors

HTML Basics 1 min read Updated Nov 30, 2026 Topic 4 of 33

Example

Example — Write, save and open HTML
<!-- 1. Type this in Notepad or VS Code -->
<!-- 2. Save it as index.html -->
<!-- 3. Double-click the file to open it in your browser -->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Saved from my editor</title>
</head>
<body>
  <p>I wrote this page in a code editor.</p>
</body>
</html>

Test Yourself With Exercises

Exercise 1 Multiple Choice

Which is a popular free code editor?

Exercise 2 True / False

You can write HTML in a simple text editor like Notepad.

Frequently Asked Questions

VS Code is free and has colours, auto-complete and many extensions. Notepad also works for the first few pages.