<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>HTML的form表单</h1>
<!-- action 发送请求的URL -->
<form action="" method="">
姓名: <input type="text">
<br>
密码: <input type="password">
<br>
性别: <input type="radio">男 <input type="radio">女
<br>
爱好: <input type="checkbox">唱歌 <input type="checkbox">打篮球 <input type="checkbox">RAP
<br>
<button type="submit">提交</button>
<button type="reset">重置</button>
</form>
<!--
action属性:提交表单时向何处发送表单数据
method属性:规定用于发送表单数据的 HTTP 方法
-->
</body>
</html>