form表单
实操
点击查看代码
<!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>
<form action="url" method="gret|post" name="myfrom">
<input type="text">
<input type="submit">
</form>
</body>
</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>
<form action="">
用户名:<input type="test">
密码:<input type="password">
<input type="submit" value="登录">
</form>
</body>
</html>