When I out the text into Notepad how do I make it appear in a web browser as a page like in the lessons? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

When I out the text into Notepad how do I make it appear in a web browser as a page like in the lessons?

1st Dec 2019, 1:25 PM
Ort Kelley
Ort Kelley - avatar
9 Answers
+ 2
The issue is Microsoft Word is not made for writing code. Notepad++, or Visual studio code would be ideal.
1st Dec 2019, 2:16 PM
Manual
Manual - avatar
+ 2
If the file is not a .html file already. Press - file -> save copy as. When you have the window to save the file by name open. Change the type to .html. Save the file. Then find and open the .html file with a browser.
1st Dec 2019, 1:37 PM
Manual
Manual - avatar
+ 2
Open the .html file in a browser.
3rd Dec 2019, 10:30 AM
Sonic
Sonic - avatar
+ 1
First you have to save it with the following extensions : --.htm (or .html) for html files --.css for css files --.js for javascript files. then you can open the files with your browser. Hope it helps.
1st Dec 2019, 1:46 PM
David Nganga
David Nganga - avatar
+ 1
I'm doing the text in Microsoft word and it won't let me save or write the HTML text properly. Do you know what the issue might be?
1st Dec 2019, 1:55 PM
Ort Kelley
Ort Kelley - avatar
+ 1
Ort Kelley you should use a text editor like notepad (notepad+++)
1st Dec 2019, 1:57 PM
David Nganga
David Nganga - avatar
+ 1
Okay thanks
1st Dec 2019, 2:13 PM
Ort Kelley
Ort Kelley - avatar
+ 1
Notepad++ has a run feature in the tool bar
1st Dec 2019, 4:13 PM
Joshua
+ 1
Save it with .html or .htm extension. Now open the saved file and it will open in browser. Instead of Notepad you can use notepad++ or sublime.
3rd Dec 2019, 8:28 AM
Yash Nautiyal