Can JavaScript be written in notepad in pc and save as . html initial? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can JavaScript be written in notepad in pc and save as . html initial?

14th Dec 2021, 9:09 AM
Jelvin James
Jelvin James - avatar
2 Answers
+ 3
I am not sure what your intention with that is but just in case you want to know how javascript code can be placed directly in the html document, have a look at the example here: https://www.w3schools.com/Tags/tag_script.asp
14th Dec 2021, 11:10 AM
Lisa
Lisa - avatar
0
Yes it is possible Saving is in .html or htm represents we are creating a script
16th Dec 2021, 12:14 PM
sree harsha
sree harsha - avatar