2016-12-13 26 views
0

我正在創建一個網站,我想在CSS中創建一個導航欄。但是,導航欄不可點擊。這是用HTML和CSS製作的。包含導航欄使用html和css的導航欄不可點擊

HTML代碼:

<link rel="stylesheet" type="text/css" href="style.css"> 

<ul id=navlist><li class=active> Home </li> 
<li> <a title="LINK: My Youtube videos」 href="youtubevideosch9changes.html」> My Youtube videos </a> </li> 
<li> <a title="LINK: My Flash games」 href="gamesch9changes.html> My Flash games </a> </li> 
<li> <a title="LINK: Rants and articles」 href="Rantsandarticles.html」> Rants and articles </a> 


</li> 
</ul> 

回答

0

檢查你的HTML代碼與此"馬克的結束。你使用了一個開頭的雙引號,而不是一個關閉的引號。將"LINK: My Youtube videos」更改爲"LINK: My Youtube videos"

使用此下面的代碼,

<link rel="stylesheet" type="text/css" href="style.css"> 

<ul id=navlist><li class=active> Home </li> 
<li> <a title="LINK: My Youtube videos" href="youtubevideosch9changes.html"> My Youtube videos </a> </li> 
<li> <a title="LINK: My Flash games" href="gamesch9changes.html"> My Flash games </a> </li> 
<li> <a title="LINK: Rants and articles" href="Rantsandarticles.html"> Rants and articles </a> 


</li> 
</ul> 
+0

這工作完全感謝您的幫助! – cobra101