blog.html不使用Visual Studio代码使用Live Server打开
我正在尝试学习HTML,我有问题。当我尝试使用实时服务器打开博客。
我不确定为什么,因为我的index.html页面可以使用实时服务器打开。 我不能包括图片,但是在网站的主文件夹中,我有index.html,blog.html和图像文件夹。
I'm trying to learn HTML, and I have a problem. When I try open my blog.html with live server I get an error code saying 'Cannot GET /blog.html/'.
I am not sure why, since my index.html page opens fine with live server.
I cannot include pictures, but inside my main folder for the website, I have index.html, blog.html and a folder for images.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有时,实时服务器不会将文件保存到服务器。
尝试重新启动VS代码或编辑文件,然后保存,然后重试。
Sometimes Live Server doesn't save files to the server.
Try restarting VS Code or editing the file and then saving, and then try again.