[英]Opening html file in browser
I have just started learning coding.我刚刚开始学习编码。 I coded a html file but when i want to open it in a browser it doesn't work.
我编写了一个 html 文件,但是当我想在浏览器中打开它时它不起作用。 I uploaded a screen shot from the browser
我从浏览器上传了一个屏幕截图
Your file extension is .txt
so the browser thinks it's just a text file.您的文件扩展名是
.txt
,因此浏览器认为它只是一个文本文件。 You need to remove the .txt
extension so it's just Document.html
, not Document.html.txt
您需要删除
.txt
扩展名,因此它只是Document.html
,而不是Document.html.txt
Your file extension is still.txt您的文件扩展名仍然是.txt
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.