I save a file.html with text edit. When i try to run file.html on browser he appear in .txt | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I save a file.html with text edit. When i try to run file.html on browser he appear in .txt

1st Jun 2018, 5:06 PM
Filippo Cossu
Filippo Cossu - avatar
4 Answers
+ 1
If I understand correctly, check the full file name and rename it to file.html... No file.html.txt...
1st Jun 2018, 5:13 PM
Jiří Bočan
+ 1
thanks he worked
1st Jun 2018, 5:16 PM
Filippo Cossu
Filippo Cossu - avatar
0
for people's use texted edit you should press @(apple)+Ctrl+T
1st Jun 2018, 9:20 PM
Filippo Cossu
Filippo Cossu - avatar
0
then save file.html
2nd Jun 2018, 1:46 PM
Filippo Cossu
Filippo Cossu - avatar