FAUSTINE MWOYA December 2, 2025 2 min read

Learn HTML Using Notepad or TextEdit (Beginner Guide)

Learn how to write your first HTML webpage using only Notepad (Windows) or TextEdit (Mac). Perfect for beginners who want a simple, free way to start coding HTML.

πŸ§‘β€πŸ’» Learn HTML Using Notepad or TextEdit

One of the best ways to begin learning HTML is by using simple text editors like Notepad (Windows) or TextEdit (Mac). These tools are free, easy to use, and allow you to understand the structure of HTML without distractions.

πŸͺŸ 1. How to Create an HTML File Using Notepad (Windows)
βœ” Step 1: Open Notepad

Press Windows Key + R, type:

notepad

Then press Enter.

βœ” Step 2: Write Your HTML Code

Copy and paste this simple HTML code:

<!DOCTYPE html>
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>

<h1>Hello World!</h1>
<p>This is my first HTML webpage.</p>

</body>
</html>

βœ” Step 3: Save Your File as .html

Click File β†’ Save As

In File name, type:

myfirstpage.html

Change Save as type β†’ All Files.

Encoding β†’ UTF-8

Click Save

βœ” Step 4: Open the Webpage

Go to the folder where you saved the file and double-click it.
It will open in your browserβ€”Congratulations! πŸŽ‰

🍏 2. How to Create an HTML File Using TextEdit (Mac)
βœ” Step 1: Open TextEdit

Go to Applications β†’ TextEdit

βœ” Step 2: Change to Plain Text Mode

Click:
Format β†’ Make Plain Text

βœ” Step 3: Write Your HTML Code

Paste this:

<!DOCTYPE html>
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>

<h1>Hello World!</h1>
<p>This is my first HTML webpage.</p>

</body>
</html>

βœ” Step 4: Save the File

Click File β†’ Save

Write file name:

myfirstpage.html

Uncheck β€œIf no extension is provided, use .txt”

Save the file to Desktop

βœ” Step 5: View Your Webpage

Double-click the file β†’ it opens in Safari/Chrome.

🧱 3. Why Learn HTML Using a Simple Editor?

You understand the raw structure of HTML

No distractions from auto-correct or auto-complete

Builds a strong foundation for future coding

Works offline and requires no installation

Great for beginners and students

πŸ“š 4. What You Can Learn Next

After mastering basic HTML, you can explore:

CSS (styling webpages)

JavaScript (adding actions and interactivity)

Bootstrap (creating professional designs fast)

PHP/MySQL (building full systems like mikopo, CRM, dashboards, etc.)

If you want, I can write the next lesson: HTML Attributes.

πŸ”— Links Za Kujifunza Zaidi

🌐 Faulink Official Website
https://www.faulink.com/

πŸ“˜ Jifunze Web Design & Programming
https://www.faulink.com/excel_mifumo.php

πŸ“² WhatsApp kwa Msaada wa Haraka
https://wa.me/255693118509

πŸš€ Unahitaji mfumo au website ya biashara?

Chagua huduma hapa chini kisha mteja bofya moja kwa moja kwenda kwenye ukurasa wa huduma au kuwasiliana nasi kwa WhatsApp.

Share this post

Comments

3
test April 21, 2026 at 5:35 am
test
test April 21, 2026 at 5:35 am
test'
test' April 21, 2026 at 5:35 am
test

Continue Reading

Subscribe

Get new updates

Jiunge upokee posts mpya, tutorials, na updates za mifumo moja kwa moja kwenye email yako.

Faulink Support