form

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>form</title>
</head>
<body>
<h2>text -user-password</h2>
<form action="">
user:<input type="text" name="user">
password:<input type="password" name="password">
</form>
<h2>radio button</h2>
<form action="">
<input type="radio" name="sex" value="male">male
<input type="radio" name="sex" value="female">female
</form>
<h2>checkboxes</h2>
<form action="">
<input type="checkbox" name="sex" value="male">male
<input type="checkbox" name="sex" value="female">female
</form>
<h2>list</h2>
<form action="">
<select name="phone" >
<option value="huawei" selected >huawei</option>
<option value="apple">apple</option>
<option value="vivo">vivo</option>
</select>
</form>
<h2>submit</h2>
<form action="">
<input type="submit" value="submit">
</form>
<h2>button</h2>
<form action="">
<input type="button" value="bu">
</form>
<h2>textarea</h2>
<textarea name="introduce" id="" cols="30" rows="10">introduce</textarea>
</body>
</html>
上一篇:4_2_QMouseEvent


下一篇:弹出层效果