首页 > 其他 > 详细

h5新加标签

时间:2017-07-16 10:42:43      阅读:255      评论:0      收藏:0      [点我收藏+]

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<!-- <form autocomplete="on"><!--自动补全-->
<!--<input type="email" />
<input type="number" min="1" max="10" step="2"/>
<input type="range" min="1" max="30" step="2"/>
<input type="color" />
<input type="date" />
<input type="month" />
<input type="week" />
<input type="tel" />
<input type="url"/>
<input type="submit" value="提交"/>-->
<!--<input type="text" list="tarlist"> 下拉列表,输入字母可以提示信息
<datalist id="tarlist">
<option>beijing</option>
<option>shanghai</option>
<option>xiamen</option>
<option>chongqing</option>
<option>changsha</option>
</datalist>
<input type="text" autofocus="autofocus" />自动获取焦点-->
<!--<form action="index.html" method="post" id="index">
<input type="text" name="username"/>
<input type="submit" />
</form>
<input type="password" form="index"/>提交信息给下一个页面,form后面为下一个页面的id
<form action="index.html" method="post" id="index">
<input type="text" name="username"/>
<input type="text" name="psw" formaction="form1"/>把值提交到id为form1的页面
<input type="submit" />
</form>-->
<form>
<input type="text" required="required"/><!--输入值不能为空,必须有输入值-->
<input type="text" placeholder="请输入用户名" /><!--在输入框中提示该输入什么信息-->
<p contenteditable="true">ergfsss</p><!--可以往里面输入内容-->

<p hidden="hidden">3233</p><!--隐藏-->
<a href="a" tabindex="2">fwdc</a><!--设置tab键选择时默认顺序-->
<a href="a" tabindex="1">vre</a>

</form>
</body>
</html>

h5新加标签

原文:http://www.cnblogs.com/hjsuceess/p/7189795.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!