2016-12-20 31 views
0

我有2個HTML頁面。我把我的第一個html頁面放在我的文檔根目錄(var/www)中,並且它可以工作。它有一個移動第二頁的按鈕。當我進入我的瀏覽器的IP,我看到第一頁我按下登錄,但404錯誤出現in.Where應該找到我secondpage應該在哪裏ı把我的第二頁

這裏是我的代碼

<html> 
<h1>Welcome to e-flea market!</h1> 
<table align="center" width="40%" height="88" bgcolor="rgb(21, 232, 246)"> 
<tr> 

<td align="left" width="50"> 
<p align="left"> 
<font color="#ffffff" size="3"> 
Your name:<br> 
</font> 
<input type="text"><br> 
<font color="#9DACCB" size="5"> 
</font> 
</p> 
</td> 

<td align="left" width="100"> 
<p align="left"> 
<br> 
<form method="get" action="\Users\Hp\.atom\2ndpage.html" > 
<input type="submit" value="LOGIN"> 
</p> 
</td> 
</tr> 
</table> 
</body> 
</html> 

回答

0

假設2ndpage.html是在同一目錄作爲您的第一頁,您可以更新您的表單爲:

<form method="get" action="2ndpage.html" > 
相關問題