1. Computing
Send to a Friend via Email

Discuss in my forum

Writing HTML in Notepad

By

Notepad icon

Notepad icon

Screen shot by J Kyrnin © 2012 J Kyrnin - licensed to About.com

If you use Windows, you don’t need to buy or download an editor in order to write HTML. You have a perfectly functional editor built into your operating system — Notepad.

In fact, for many people this is all the HTML editor they will ever need.

There are only a few steps to creating a web page with Notepad:

  1. Open Notepad
    Notepad is nearly always found in your “Accessories” menu. How to Find Notepad on Windows
  2. Start writing your HTML
    Remember that you need to be more careful than in an HTML editor. You won’t have elements like tag completion and validation. Learn HTML
  3. Save your HTML to a file
    This is the tricky part. Notepad normally saves files as .txt. But since you’re writing HTML, you need to save the file as .htm. What Should I Name my HTML File?

If you’re not careful in the third step, you’ll end up with a file named something like: filename.htm.txt

Here’s how to avoid that:

  1. Click on “File” and then “Save As”
  2. Navigate to the folder you want to save to
  3. Change the “Save As Type” drop-down menu to “All Files (*.*)”
  4. Name your file, be sure to include the .htm extension e.g. homepage.htm

Remember HTML isn’t terribly hard to learn, and you needn’t buy any additional software or other items in order to put up your web page. With Notepad, you can write complex or simple HTML and once you have learned the language, you can edit pages as quickly as someone with an expensive HTML editor.

Most Recent Web Design / HTML Articles

©2014 About.com. All rights reserved.