Opening a Web Page in Notepad

Notepad is included with all versions of Windows, and you’ll find it in the Accessories folder on the All Programs submenu of the Start menu. It’s a simple text editor that saves only in plain text format. That’s ideal for HTML editing because you don’t have to worry about any extra word-processing formatting being included in the file.

One thing to keep in mind when using Notepad is that when saving or opening files, the default file extension is .txt. The Save and Open dialog boxes are set by default to filter file listings so only those files with .txt extensions appear. That means each time you browse for a file, you have to change the file type to All Files so you can browse for Web pages (which have .htm or .html ...

Get HTML and XHTML Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.