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!
Thank goodness for notepad, for those people that don’t have Dreamweaver, this is the next best thing to edit your HTML pages.
[…] How do I edit HTML files using Windows NotePad? – ive just been tidying up some info files and im widows xp and use Notepad to edit and using html validator lite when i open some files either direct or via view source […]
ive just been tidying up some info files and
im widows xp and use Notepad to edit
and using html validator lite
when i open some files either direct or via view source
notepad title bar calls it info1a[1] rather than info1a.html
and having edited it -it dosnt save although it appears to
other files work normally
validator tells me the file is ok clearly ive corrupted something
am web design student and am having difficulty using notepad and notepad++. no matter what I do the pages just appear with the html coding. what can I do? and I do not want to use wysiwyg
Hi All,
I have created one html document and i want to edit it again but i can’t able to edit it. So please tell me how to edit html document which i created earlier.
Thank you! 🙂
Do you have a link to download notepad?
Very timely info. Exactly what I needed for my little project. Thanks.
Yes, 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
-open html page from the web
-see code (Ctrl-U)
-save code as
translates unicode into gibberish.
Hi 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
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…
Hi Dave,
I have tried saving my html in NotePad and WordPad exactly as you stated:
File name: not-yet.html
Save as type: Text Documents (*.txt)
Encoding: ANSI
But still when I try to view the page in my web browser, I still just see the html coding.
Thanks.
I 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?
Righto, Liz! Check out:
https://www.askdavetaylor.com/how_do_you_save_html_files_with_macs_textedit.html
DaveT.
I 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 🙂
It’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/
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! 🙂
I guess the filename not-yet.html has to be put in quotes else it willh have a .txt extension.
Amit
http://labnol.blogspot.com