
How do I edit HTML files using Windows NotePad?Dave, I am reading your book Creating Cool Web Sites and you say on page 22 "suppose you recently created the file not-yet.html in NotePad..." and go on to show how it would look on Internet Explorer with and without HTML tags. But I cannot duplicate this example! NotePad does not let me save as .html, nor does WordPad and if I save it as Web Page in Microsoft Word 2003 it won't work either. I am super motivated to get going but have just about ripped all my hair out as I can't get past the first step. Sorry to hear about your confusion and frustration! Hold off on any further hair ripping, however. It sounds painful. Though it's not completely obvious, NotePad has the ability to save a file in "Text Document" mode, and that's what you want. In fact, when you're in NotePad and choose Save As, there are three snippets of information you need to supply: File Name, Save as type, and Encoding. The choice for Save as type is "Text Documents (*.txt)", the Encoding should be ANSI, and the filename must have the .html suffix for the Web browser to then interpret what you've typed as an HTML page, rather than a text page. And that's where NotePad is a bit tricky: if you just type in a filename, it'll automatically give it the ".txt" filename suffix, which won't work how you want. You can add all the HTML you desire, but IE (and any other Web browser) will still show you the HTML, not interpret it. To sidestep this problem, make double sure that when you enter a filename, that you don't leave a .txt stray filename suffix in the box, but instead make sure that it's a ".html" file, like this lower corner slice of the Save As dialog box:
I think that'll get you going. If not, let me know!
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon
Categorized:
Windows Help
(Article 3867)
Tagged: Previous: When was the floppy disk invented? Next: Why do the fonts in Firefox Linux look so terrible? Subscribe!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader. I guess the filename not-yet.html has to be put in quotes else it willh have a .txt extension. Amit I don't think that's true, Amit. In fact, knowing Windows, I'd be afraid that I'd end up with a filename that included the quotes! :-) Posted by: Dave Taylor at January 26, 2005 2:37 PMIt's probably more involved than the original poster may want, but I prefer to replace Windows Notepad.exe with Metapad (which is free). http://liquidninja.com/metapad/ Posted by: Stewart Vardaman at January 26, 2005 4:37 PMI too just bought your Cool Websites book and am having the analog of this problem with my otherwise glorious Mac. In TextEdit, I can't save it as a .html file. The only file format options I'm given are RTF and Word Format, both of which refuse to allow me to add the suffix .html. Suggestions? THANKS so much for your time Dave :) Posted by: Liz McKenna at March 2, 2005 7:11 AMRighto, Liz! Check out: http://www.askdavetaylor.com/how_do_you_save_html_files_with_macs_textedit.html DaveT. Posted by: Dave Taylor at March 2, 2005 7:46 AMI need some advise. My wepage is more or less being held ransom by my webmaster because of her knowledge of html. If I need to make a change of any kind I need to wait a week plus for anything to get done. Now, she wants to charge me an up front fee for any changes before they are done. I can't even put on any links because I have to check with first. How tuff is it to use html and if I was able to learn it how can I get my web page away from her? Posted by: Lee D at March 27, 2009 4:30 PMHi Dave, I have tried saving my html in NotePad and WordPad exactly as you stated: File name: not-yet.html But still when I try to view the page in my web browser, I still just see the html coding. Thanks. Erica, when you are seeing the SOURCE to your HTML page, can you tell us exactly what URL is being shown in the address bar of the Web browser? My bet is that you're ending up with something like "test.html.txt" somehow... Posted by: Dave Taylor at May 5, 2009 8:20 AMHi Dave, I want to run a news website which will be updated daily with news and blogs. How do I change content in the html files? Do I need any special software to load and update content daily? How do I load pictures and ad that I placed in my site? Best regards, Mbuyisi Posted by: Mbuyisi at September 8, 2009 3:58 PMYes, but what about characters in unicode in the html page? Even if you have the same character set, what you see is gibberish. In other words translates unicode into gibberish. Posted by: scot at October 5, 2009 1:28 AMVery timely info. Exactly what I needed for my little project. Thanks. Posted by: K. Tuckerson at December 3, 2009 4:42 PMI have something to say, now that you mention it, but ...
I do have a comment, now that you mention it!
|
![]() ![]()
Search
Find just the answers you seek from among our 2300+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Industry News and Trade Shows Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Book Links
|