Anonymous

How To Run Html Program In Notepad?

9

9 Answers

Christian Profile
Christian answered
Example:

1. Type in your HTML code.
2. Click "Save As"
3.  Select a folder to save it in.
4. Save your document as: Blahblahblah "for example"
5. Then when you have your project name (blahblahblah) make it an HTML file.
Example:

Save it as "blahblahblah.html"
6. Then open your project.
7. It will open your project in your browser (I.E. Internet Explorer)
Hope that helps!

Anonymous Profile
Anonymous answered
When you're saving your file, save it with a .html file name extension. Eg.

FILENAME.html

Just replace FILENAME
Anonymous Profile
Anonymous answered
HI I am Kshama,
  I am also facing the same problem. Eventhough I save file with.html extention and open it in Internet Explorer it is not running. It is showing code it self.

Please anyone can help me?
thanked the writer.
Anonymous
Anonymous commented
Make sure it was not saved as another file extension. NotePad does that if you do not set the filter correctly. When you save from NotePad, it can wind up with a file name like index.html.txt, which is considered a text file by the browser and it will show the code as you wrote it. You have to make sure you remove the ".txt" part.

Major Payne
Albert Renshaw
Albert Renshaw commented
The problem is that you are not encoding it as unicode so it is showing the code as text and not runing the code itself..
I'm on a mac so I don't now how but when you click to save it, it should say something like UTF-8 or something.. Make it unicode, or try UTF8 if it isn't already.
Christian Profile
Christian answered
Go to notepad. Type in your code and be sure to write the <html> and </html> tags at the end of the code. Then at the top left corner, click on "Save As" and save your document as "example.html" where the word example can be saved as any word but at the end of the document name, be sure to add the .html extension. Now open up the saved file and the document should be shown in your browser as the html. The code will not show, but the added work will be shown.
venus gray Profile
venus gray answered
In notepad you only write code n save it with .html extensiona.html run in any browser
Anonymous Profile
Anonymous answered
I need help with html Coding for web page
thanked the writer.
Anonymous
Anonymous commented
To get help with coding, try signing up at some of the coding forums. HTMLCodeTutorial.com is one forum that's pretty good.

Major Payne
Anonymous Profile
Anonymous answered
You don't need to run anything.
Just write down your HTML code in notepad and save the file with .htm or .html extension.
Or if it's hard for you just save the file as text document which notepad does and rename the extension:
Example yourfilename.txt is the text file, rename it to yourfilename.htm.
Of course "yourfilename" is the name you have given it.

Answer Question

Anonymous