我应该在哪里放第二页?
Where should I put a second page?
我有 2 html 页。我将我的第一个 html 页面放在 apache 2 中的文档根目录 (var/www) 中,它可以正常工作。它有一个移动第二页的按钮。当我在浏览器上输入我的 ip 时,我看到第一页我按下登录但出现 404 错误。我应该在哪里找到我的第二页?
这是我的代码
<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\.atomndpage.html" >
<input type="submit" value="LOGIN">
</p>
</td>
</tr>
</table>
</body>
</html>
假设 2ndpage.html 与第一页位于同一目录中,您可以将表单更新为:
<form method="get" action="2ndpage.html" >
我有 2 html 页。我将我的第一个 html 页面放在 apache 2 中的文档根目录 (var/www) 中,它可以正常工作。它有一个移动第二页的按钮。当我在浏览器上输入我的 ip 时,我看到第一页我按下登录但出现 404 错误。我应该在哪里找到我的第二页?
这是我的代码
<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\.atomndpage.html" >
<input type="submit" value="LOGIN">
</p>
</td>
</tr>
</table>
</body>
</html>
假设 2ndpage.html 与第一页位于同一目录中,您可以将表单更新为:
<form method="get" action="2ndpage.html" >