【发布时间】:2014-12-15 01:53:16
【问题描述】:
起初我被发送到 chrome 进行实时预览,页面是空白的。然后我开始收到一条错误消息:“打开一个 HTML 文件或确保您的项目中有一个 index.html 文件以启动实时预览。”
其他文件我已经做了实时预览就好了。我看不出代码有什么问题。我在这里搜索帖子以寻求解决方案,但找不到任何东西。这是最接近的,但它指的是一个 php 文件。 Brackets - Live Preview not working
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel='stylesheet' type="text/css" href="design_sandbox.css"/>
<title>Design Sandbox<title>
</head>
<body>
<p>This is a test, is this working?</p>
<div id="formpractice">
<form>
<p>Username:
<input type="text" size="14" maxlength= "20" />
</p>
<p>I vote for:
<input type="radio" name="jazz" value="Ella Fitzgerald"/>
<input type="radio" name="jazz" value="Herbie Hancock"/>
<input type="radio" name="jazz" value="John Coltrane"/> <input type="radio" name="jazz" value="Miles Davis"/>
<input type="radio" name="jazz" value="Thelonius Monk"/>
</p>
<button>"SUBMIT"</button>
</form>
</div>
</body>
</html>
【问题讨论】:
标签: html adobe-brackets