我的所有其他页面都有效,这是针对学校项目的。我对它们进行了比较,但是这个有问题。我不想重做它,因为我使用它作为模板并且想要使用它。 我发布了整个页面,以防你需要它。问题是两段没有显示出来 佛罗多。
<html>
<head>
<TITLE>Lord of the Rings: Frodo</TITLE>
<style>
pre{font-family:"Times New Roman", Times, serif;}
pre{font-size:25px;}
pre{color:gold;}
body
{
background-image:url('http://awesomewallpapers.files.wordpress.com/2010/08/one-ring-to-rule-them-all- 1.png');
background-color:#cccccc;
}
background-repeat:no-repeat;
background-attachment:fixed;
background-position:topleft;
a{color:blue;}
a:hover{color:gold;}
a:visited{color:white;}
background-repeat:no-repeat;
background-attachment:fixed;
background-position:center;
</style>
</head>
<body link="white">
<center>
<hr><A HREF="MoviePage.html">Home</A> <A HREF="Characters.html>Characters</A></hr>
<pre>
Frodo is the main character in this series, the carrier of the One Ring and the
one who must support its burden. Frodo goes through many trials through the course of
the movies, some include battles, attacks on his mind and even a near death experience.
Frodo is the nephew of Bilbo Baggins, the once great adventurer who first brought
the ring to the shire. He is a friend of Gandalf, whom he speaks with everytime he goes
through the Shire. Frodo and Bilbo's birthday are on the same day, and hold a massive
party in their name.
</pre>
</center>
</body>
</html>
答案 0 :(得分:3)
你在这里错过了一个标记:
<a HREF="Characters.html">
Chuck说,并且一切正常,用jsfiddle检查过。您可以在此处查看更新的工作版:http://jsfiddle.net/2FBqm/
答案 1 :(得分:1)
你错过了双引号。
<hr><A HREF="MoviePage.html">Home</A> <A HREF="Characters.html>Characters</A></hr>
^
答案 2 :(得分:0)
第31行;你忘了关闭双引号(“)。
将此行替换为:
<hr><A HREF="MoviePage.html">Home</A> <A HREF="Characters.html">Characters</A></hr>
顺便说一下,欢迎乘坐:))