Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, iphone help, ipod help, AdSense, MySpace, Sony PSP help, Mp3 players, Windows XP, Windows Vista, Linux, SEO, Mac OS X, Facebook, Twitter and LinkedIn.

Creating HTML files with NotePad, Redux

I am having a problem saving HTML in NotePad. It won't save it as HTML so I can go no further. I see you have already answered this exact question. The problem is, the answer wasn't correct. In NotePad to save something you said to make sure to save it as HTML and not Text. But it doesn't give you any other options. When you click save as in NotePad it gives you only two options: Text File or All Files (*.*). There is no way to erase that or create your own, so I am still stuck at the same place as the last guy who wrote. Please investigate this as I can't find the answer anywhere and I just purchased a host and domain that I can't seem to use. I'm afraid the other guy who wrote in is probably bald now from pulling his hair out.


Dave's Answer:

Well, when I read through the previous article, How do I Edit HTML Files Using Windows NotePad, it all looks consistent with my Windows XP installation, but let me step through it again, just for good luck!

First off, open NotePad by going to Start --> Programs --> Accessories --> NotePad.

Now just type in your HTML directly (and if you don't know your HTML from the proverbial hole in the ground, I suggest you check out my book Creating Cool Web Sites).

When you're ready to save your newly created Web page, choose Save As... from the File menu and you'll see the following dialog box:

Windows NotePad Save As HTML

Notice here the critical thing: In the filename field I'm supplying both the filename and the filename suffix, in this case ".htm' (though ".html" would work fine too).

That's all there is to it. Click on 'Save' and you've just created an HTML file. In fact, even the icon on the desktop will be different than a regular text file, to show that it's a Web page:

NotePad file saved as HTML

I have Firefox as my default browser, hence the funky little firefox icon, but the important thing to notice is that it isn't just a plain text icon.

Now, when I double-click on the new file icon it shows the page in my Web browser rather than the source in NotePad:

NotePad HTML file in Firefox

That should clear up any confusion!



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon    
Categorized: Windows Help   (Article 4114)
Tagged:
Previous: What's new at Google?
Next: How do I get a "classic" Windows XP Start Menu?

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

You should change the save file to "*.*", not "*.txt", then add the ".htm/.html" to the end. I have found that sometimes the .txt gets added to the end of the file name "index.html.txt", which will not work in a browser...

Bob

Posted by: Robert Kubichek at August 11, 2005 3:47 PM

Been there done that. Change the save option from Text Docs to All Files. Add the extension to the file name as noted (myindexfile.html)

Posted by: Dan C at August 12, 2005 12:02 AM

Man, you saved me alota trouble. Will be back for more reference. Later

Posted by: Mark at August 17, 2006 8:12 PM

do this and save or rename in again

My computer
Tools
Folder options<-----(control panel)
View
Untick the box “Hide extensions for known file types”
Apply
Ok

Know check the .html file you have created. it may look something like this

“index.html.txt”

Posted by: nevermind at December 19, 2007 3:14 AM

This site looks great and I'm sure I'll look again since I'm only starting to design web-pages. I just saved mysef a ton of headaches when you showed how to save notepad files as html files.. THANK YOU!!!! :)

Posted by: Candace at March 6, 2008 4:08 PM


I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Uniblue: Free Virus Scan


Join Me At:
Aloha Social Media Summit, Oct 2008


Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Member of the B5Media Network

Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]