form使用

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>一个测试</title>
</head>
<body>
<div>
<form method="GET" action="">
username :<input type="text" name="username" value="请输入用户名"onfocus="this.value=''"onblur="this.value">
<p> password: <input type="password"></p>
 
<br>
 
<h1>请问你对web的态度是?</h1>
<select name="嘉文">
<option value="喜欢">喜欢</option>
<option value="一般">一般</option>
<option value="不喜欢">不喜欢</option></select>
<input type="submit">
</form>
</div>
 
</body>
</html>
posted @ 2018-09-17 16:08  不要乱起名  阅读(167)  评论(0编辑  收藏  举报