0402-2 HTML表单
<!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>
<h2>0402001练习 表单</h2>
<form action="1.php" method="GET">
<label>姓名:</label>
<input type="text" placeholder="请输入您的姓名" id="stname" required>
<button>提交</button>
</form>
</body>
</html>