blog.html不使用Visual Studio代码使用Live Server打开

发布于 2025-01-29 05:59:11 字数 134 浏览 2 评论 0原文

我正在尝试学习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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

伊面 2025-02-05 05:59:11

有时,实时服务器不会将文件保存到服务器。

尝试重新启动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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文