html第十一课form

<html>
<head>
<title>login</title>
</head>
<body>

<h1>login</h1>
<form action="ok.html" method="get">
username:<input type="text" name="username"/><br/>
code&nbsp;&nbsp;&nbsp;&nbsp;:<input type="password" name="pwd"/><br/>
<input type="submit" value="login"/>
<input type="reset" value="reset"/>
</form>

</body>
</html>

ok.html 内容:

<h1>login ok</h1>

猜你喜欢

转载自blog.csdn.net/cj1064789374/article/details/86319316