+ 1
I tried to make an HTML site on my computer on Notepad and I tried but didn't work. Why is it like that?
12 Respuestas
+ 5
You can put your html here? In code section { } ?
+ 5
Describe how you save the file. Notepad has a bad reputation for saving files with undesired file extension, many had dealt with this.
Also describe in detail the steps you take for testing the page.
+ 3
right click on the file and select properties. if the file extension is .txt, it means you need to resave it as html.
when you go to save as, the save as type: should be all files. and then save the file as whatever.html
+ 2
How did you load the file in the browser? did you type in the file URL or did you drag the file to drop on the browser?
Did you try with other browsers? did it work the same or what?
Please save a copy of the code and share the link in your original question Description above. Follow this steps for sharing links; in case you didn't know.
https://www.sololearn.com/post/74857/?ref=app
+ 2
I’m going to assume you’re using Windows here
you can try typing into your browser’s address bar “file:///C:/path/to/file.html”
You can’t do “www.whatever.com” because you don’5 have a domain name.
Also, if you haven’t already, you should download notepad++. It’s a little more pleasant to use.
Also, when you saved your file, did you change the file type (in the dropdown next to the file name) to all files? If you left it as text file, that’s why it’s not going to work.
Also, a search engine is not a browser. Bing is a search engine. Chrome, Firefox, and Edge are browsers. You should not need a search engine to access your file, since it’s local
+ 1
I saved it as 'test.html' but it didnt work
+ 1
Also i choose the broswer as Bing....
+ 1
And it took FOREVER to load
+ 1
Yeah i used windows
+ 1
Try checking the header in your codes and the extension saved ".html" or "hml".
+ 1
OK
+ 1
you solve the problem very quickly!