35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>登录</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<form action="http://localhost:8000/form" method="post" enctype="application/x-www-form-urlencoded">
|
||
|
用户名:<input type="text" name="username">
|
||
|
<br>
|
||
|
密  码: <input type="password" name="password">
|
||
|
兴  趣:
|
||
|
<input type="checkbox" value="run" name="hobby">跑步
|
||
|
<input type="checkbox" value="game" name="hobby">游戏
|
||
|
<input type="checkbox" value="money" name="hobby">金钱
|
||
|
<br>
|
||
|
<input type="submit" value="登录">
|
||
|
</form>
|
||
|
|
||
|
|
||
|
<form action="http://localhost:8000/upload" method="post" enctype="multipart/form-data">
|
||
|
头像: <input type="file" name="file">
|
||
|
<br>
|
||
|
<input type="submit" value="提交">
|
||
|
</form>
|
||
|
|
||
|
<form action="http://localhost:8000/uploads" method="post" enctype="multipart/form-data">
|
||
|
多个文件: <input type="file" name="files" multiple>
|
||
|
<br>
|
||
|
<input type="submit" value="提交">
|
||
|
</form>
|
||
|
|
||
|
</body>
|
||
|
</html>
|