html form表单标签
2017-07-28 23:39
267 查看
<!DOCTYPE html>
<html>
<head>
<title>form.html</title>
<meta name="keywords" content="keyword1,keyword2,keyword3">
<meta name="description" content="this is my page">
<meta name="content-type" content="text/html; charset=GBK">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
</head>
<body>
<form>
用户名:<input type="text" name="user" /><br/>
密码:<input type="password" name="pwd" /><br/>
性别: <input type="Radio" name="sex" value="nan"/>男<input type="radio" name="sex" checked="true" value="nv"/>女<br/>
掌握技术:<input type="checkbox"name="tech" value="JAVA"/>JAVA<br/>
<input type="checkbox" name="tech" value="C"/>C<br/>
<input type="checkbox" name="tech" value="OC"/>OC<br/>
<input type="checkbox" name="tech" value="HTML"/>HTML<br/>
选择文件:<input type="file" name="file"/><br/>
一个图片:<input type="image" src="11.jpg"/> <br/>
隐藏组件: <input type="hidden" name="hi" value="hi"/><br/>
一个按钮: <input type="button" value="一个按钮" onclick="alert('一个按钮')"/>
<input type="reset" value="重置数据"/><input type="submit" value="提交数据"/>
</form>
</body>
</html>
<html>
<head>
<title>form.html</title>
<meta name="keywords" content="keyword1,keyword2,keyword3">
<meta name="description" content="this is my page">
<meta name="content-type" content="text/html; charset=GBK">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
</head>
<body>
<form>
用户名:<input type="text" name="user" /><br/>
密码:<input type="password" name="pwd" /><br/>
性别: <input type="Radio" name="sex" value="nan"/>男<input type="radio" name="sex" checked="true" value="nv"/>女<br/>
掌握技术:<input type="checkbox"name="tech" value="JAVA"/>JAVA<br/>
<input type="checkbox" name="tech" value="C"/>C<br/>
<input type="checkbox" name="tech" value="OC"/>OC<br/>
<input type="checkbox" name="tech" value="HTML"/>HTML<br/>
选择文件:<input type="file" name="file"/><br/>
一个图片:<input type="image" src="11.jpg"/> <br/>
隐藏组件: <input type="hidden" name="hi" value="hi"/><br/>
一个按钮: <input type="button" value="一个按钮" onclick="alert('一个按钮')"/>
<input type="reset" value="重置数据"/><input type="submit" value="提交数据"/>
</form>
</body>
</html>
相关文章推荐
- form表单中input标签的11个高级用法
- 用a标签post提交表单
- SpringMVC表单标签(2)
- HTML的表单form以及form内部标签的使用
- Struts2学习10--防止表单的重复提交token标签和tokenSession
- 表单外超链同时提交表单内标签和超链url(超链接提交表单同时传值给另一个页面)
- <学习html>第七天笔记-表单标签(textarea控件、下拉菜单、表单域)
- SpringMVC-表单标签
- 玩转Web值jquery(一)---对表单中的某一标签批量处理(以input为例)
- IE10以下的IE浏览器在form表单提交、a标签等场景下,接收application/json类型的响应时,会提示是否要下载该json文件
- html form标签
- Struts2 表单和非表单标签
- html5标签之表单元素
- HTML5 表单新标签
- SpringMVC 表单标签中 htmlEscape 属性的作用
- Spring MVC-表单(Form)标签-单选按钮集合(RadioButtons)示例(转载实践)
- springmvc表单标签
- 表单input标签type属性详解
- Spring MVC-表单(Form)标签-列表框(Listbox)示例(转载实践)
- 黑马程序员_学习笔记4——html标签和表单标签