<!DOCTYPE html>
<html>
<head>
<title>表单元素 上</title>
</head>
<body>
<form action="">
<input type="text" maxlength="10" value="文本" />
</br>
<input type="password" maxlength="10" value="密码" />
</br>
<input name="xingbie" value="0" checked type="radio">男<input name="xingbie" value="1" type="radio">女
</br>
<input value="0" checked type="checkbox">电影
<input value="1" type="checkbox">音乐
<input value="2" type="checkbox">读书
</br>
<input type="button" value="按钮">
</br>
<input type="number">
</br>
<input type="date">
</br>
<input type="color">
</br>
<input min="1" max="10" type="range">
</br>
<input type="email">
</br>
<input type="submit">
</br>
<input type="url">
</br>
<!--multiple:上传多个文件-->
<input type="file" multiple="multiple">
</form>
</body>
</html>
表单元素 (上)
最新推荐文章于 2023-10-09 20:00:00 发布