<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>表单</title>
</head>
<body>
<form action="xxx.php" method="get" name="name1">
<!--表单域-->
<!-- 表单元素 input输入 select下拉 textarea文本域 -->
<!-- input -->
用户名:<input type="text" name="username" value="请输入用户名" maxlength="6"><br />
密码:<input type="password" name="psw"><br />
<!-- 单选按钮和复选按钮name要相同 -->
性别:男<i