2016-04-26 83 views
-1

我無法打開「elixirs」和「詳細說明」的超鏈接,我不知道爲什麼,它們都在一個文件中。爲什麼我無法打開超鏈接

<html> 
    <head> 
    <title>Head First Lounge</title> 
    </head> 
    <body> 
    <h1>Welcome to the New and Improved Head First Lounge</h1> 
    <img src="drinks.gif"> 
    <p> 
     Join us any evening for refreshing <a href=「elixir.html」>elixirs</a>, 
     conversation and maybe a game or two of 
     <em>Dance Dance Revolution</em>. 
     Wireless access is always provided; 
     BYOWS (Bring your own web server). 
    </p> 
    <h2>Directions</h2> 
    <p> 
     You'll find us right in the center of downtown Webville. 
     If you need help finding us, check out our <a href = 「directions.html」>detailed directions</a>. 
     Come join us! 
    </p> 
    </body> 
</html> 
+1

您使用不正確的報價。使用'''而不是'''。 – Ivar

回答

0

只要把單引號'href

試試這個

<html> 
 
    <head> 
 
    <title>Head First Lounge</title> 
 
    </head> 
 
    <body> 
 
    <h1>Welcome to the New and Improved Head First Lounge</h1> 
 
    <img src='drinks.gif'> 
 
    <p> 
 
     Join us any evening for refreshing <a href='elixir.html'>elixirs</a>, 
 
     conversation and maybe a game or two of 
 
     <em>Dance Dance Revolution</em>. 
 
     Wireless access is always provided; 
 
     BYOWS (Bring your own web server). 
 
    </p> 
 
    <h2>Directions</h2> 
 
    <p> 
 
     You'll find us right in the center of downtown Webville. 
 
     If you need help finding us, check out our <a href = 'directions.html'>detailed directions</a>. 
 
     Come join us! 
 
    </p> 
 
    </body> 
 
</html>