gpt4 book ai didi

html - 我尝试从 VS Code 运行 HTML 文件,但收到错误 : "Your file couldn’ t be accessed, 它可能已被移动、编辑或删除。”

转载 作者:行者123 更新时间:2023-12-04 19:24:14 24 4
gpt4 key购买 nike

该文件只是一个简单的 Hello world HTML 文件。我从 Ubuntu 打开了文件,所以我不确定为什么找不到该文件。我是编码新手,无法弄清楚。

<!DOCTYPE HTML>
<HTML>

<head>
<title>Hello HTML</title>
</head>

<body>
<p>Hello World!</p>
</body>

</html>

最佳答案

也许您应该尝试重新启动 Visual Studio 并右键单击您的 *.html 文件
Rigth Click then choose "Open with Code"
这应该将路径重新分配给 vscode
或者您应该确保在执行此“控制”之前保存文件

关于html - 我尝试从 VS Code 运行 HTML 文件,但收到错误 : "Your file couldn’ t be accessed, 它可能已被移动、编辑或删除。”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72609291/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com