Question:
Learning HTML - how to re-open the text file or change source code?
S F
2011-10-10 19:43:54 UTC
I'm not sure if I'm asking the right question because I don't know the terminology yet. I created an .html file in windows notepad and opened it on Firefox by double clicking the filename that I created. Everything was fine. When I closed the notepad text document .html, I was not able to reopen it, I was only able to reopen the html page on Firefox. I right clicked "view source code" and it was read-only, I could click the mouse on it but I couldn't add or delete any of the characters.

How do I access either the text file source in windows notepad or be able to change the source code?
Five answers:
Corey
2011-10-10 19:47:01 UTC
right click the file and click open with > notepad. You can keep it as an html file as well. What I like to do is keep the notepad file open and the website file open and every time you update your file in notepad you can just refresh firefox.



Also, try using notepad++ for html you will probably like it a little better.
anonymous
2011-10-10 19:55:13 UTC
It is because file has been saved as html file. to open it in notepad , it should be a plain text file.



So, right click on it and open with notepad. Also save it as text file so that you this copy later.



Also try notepad++. It really has many good options.
Bob T
2011-10-10 19:49:08 UTC
I'm guessing that you are attempting to open the file by double clicking on it. If so, then Windows associates the .HTML extention with Firefox (your default browser). You need to open the file from Notepad by using the FILE -> OPEN menu. Another method would be to right click on the file name and select OPEN WITH... from the pop-up menu.
Joe
2011-10-10 19:45:06 UTC
open up notepad and then open up the html file in notepad
Elvia
2016-12-18 07:37:25 UTC
439


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...