我注意到我的代码被截断了,所以我查看了Firefox中的源代码。将鼠标移到红色部分之后,我收到了错误end of file reached when inside an attribute value. Ignoring tag.
我发现我的代码完全没有问题,但为了以防万一,这里就是。
<!DOCTYPE html>
<html>
<title>Magic Cards</title>
<h1>Magic Cards</h1>
<p>????
<br><a href="file:///C:\Libraries\Game Storylines\Kingdom Hearts Chain of Memories\Card Index\Magic Cards\blizzard.html">Blizzard</a>
<br>???????
<br><a href="file:///C:\Libraries\Game Storylines\Kingdom Hearts Chain of Memories\Card Index\Magic Cards\cure.html">Cure</a>
<br>???????
<br>????
<br>????
<br><a href="file:///C:\Libraries\Game Storylines\Kingdom Hearts Chain of Memories\Card Index\Magic Cards\Simba.html>Simba</a>
<br>?????
<br>?????
<br>?????
<br>?????
<br>???????????
<br>?????
</html>
在这个lne之后,<br><a href="file:///C:\Libraries\Game Storylines\Kingdom Hearts Chain of Memories\Card Index\Magic Cards\cure.html">Cure</a>
它会在下一个<br>
代码
答案 0 :(得分:4)
你在.html
之后错过了一个引用<a href="file:///C:\Libraries\Game Storylines\Kingdom Hearts Chain of Memories\Card Index\Magic Cards\Simba.html>Simba</a>
修复
<a href="file:///C:\Libraries\Game Storylines\Kingdom Hearts Chain of Memories\Card Index\Magic Cards\Simba.html">Simba</a>
编辑:另外,就像Matt Ball在评论中指出的那样,你遗漏了<head>
和<body>
标签。
您网站上html的最低限度是
<!DOCTYPE html>
<html>
<head>
<title>Some Title</title>
</head>
<body>
A lot of stuff usually goes here.
</body>
</html>