<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>常用input控件</title>
<link rel="stylesheet" href="button.css" type="text/css"/>
</head>
<body>
<form action="#" method="post">
用户名:
<input type="text" value="小明" maxlength="6" /><br/><br/>
密码:
<input type="password" value="12345" size="20"/><br/><br/>
性别:
<input type="radio" name="sex" />男
<input type="radio" name="sex" checked="checked"/>女<br/><br/>
兴趣爱好:
<input type="checkbox" />旅游
<input type="checkbox" />读书
<input type="checkbox" />摄影
<input type="checkbox" />运动<br/><br/>
上传照片:
<input type="file"/><br/><br/>
<input type="submit" />
<input type="reset" />
<input type="button" value="普通按钮"/>
<input class="one" type="image" src="images/1.webp" >
<input type="hidden">
</form>
</body>
</html>
@charset "utf-8";
/* CSS Document */
.one{
width: 30px;
height: 30px;
}