HTML Editors - HTML Tutorial - W3Teach
Home / HTML Tutorial / HTML Introduction

HTML Editors

Learn HTML Using Notepad or TextEdit

Web pages can be created and modified by using professional HTML editors. However, for learning HTML we recommend a simple text editor like Notepad (PC) or TextEdit (Mac).

We believe using a simple text editor is a good way to learn HTML. Follow the steps below to create your first web page with Notepad or TextEdit.

Step 1: Open Notepad (PC)

Windows: Open the Start Menu, search for Notepad and open it.

Step 2: Write Some HTML

Write or copy the HTML code into Notepad.

Step 3: Save the HTML Page

Save the file with a .html extension (e.g., mypage.html). Choose UTF-8 encoding.

Step 4: View the HTML Page in Your Browser

Open the saved HTML file in your favorite browser. The result will look much like the example to the right.

<!DOCTYPE html>
<html>
<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>
</html>
Result
Test Your Knowledge!

Take our HTML Tutorial quiz and earn a certificate.