0

我所有的其他页面都可以使用,这是针对学校项目的。我比较了它们,但这个有问题。我不想重做它,因为我将它用作模板并且只想使用它。我发布了整个页面,以防万一你需要它。问题是关于佛罗多的两段没有出现。

<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>
4

3 回答 3

3

您在这里缺少一个 " 标记:

 <a HREF="Characters.html">

查一下,一切正常,用jsfiddle检查过。你可以在这里看到更新的工作:http: //jsfiddle.net/2FBqm/

于 2013-01-02T22:42:01.463 回答
1

你错过了一个双引号。

<hr><A HREF="MoviePage.html">Home</A> <A HREF="Characters.html>Characters</A></hr>
                                                              ^
于 2013-01-02T22:42:22.393 回答
0

第 31 行;您忘记关闭双引号 ( " )。

将此行替换为:

<hr><A HREF="MoviePage.html">Home</A> <A HREF="Characters.html">Characters</A></hr>

顺便说一句,欢迎登机 :)

于 2013-01-02T22:44:12.853 回答