HTML5 表单,新标签
来源:互联网 发布:天涯社区知乎 编辑:程序博客网 时间:2024/05/18 00:33
<!doctype html><html><head><meta charset="utf-8"><title>无标题文档</title></head><body><form>邮箱:<input type="email" name="email" autocomplete="on" autofocus="autofocus" required="required" /><br />网址:<input type="url" name="url" /><br />颜色:<input type="color" name="color" /><br />日期<input type="date" name="color" /><br />月份<input type="month" name="month" /><br />时间<input type="time" name="time" /><br />数字<input type="number" name="number" /><br />电话<input type="tel" name="tel" /><br />调整范围<input type="range" max="100" min="0" step="10" /><br /> <!--step表示每次调整的步长-->爱吃:<input type="text" list="mylist" /> <!--(下拉列表)与下面的标签配套使用--><datalist id="mylist"> <!--与上面的标签配套使用--><option value="apple0">苹果0<option value="apple1">苹果1<option value="apple2">苹果2<option value="apple3">苹果3</datalist><input type="submit" value="提交" /></form>魂牵梦萦f<mark >热望</mark>魂牵梦萦凡尔赛 <!--mark标记--><progress max="100" value="0" id="test"></progress> <!--进度条--><script type="text/javascript">window.onload = function(){setInterval(hello,100); //定时器,循环调用hello函数,每隔1秒调用一次。}var n=0; //全局变量function hello(){var obj = document.getElementById("test");n++;obj.value=n; //进度条的值加1}</script></body></html>
阅读全文
0 0
- HTML5 表单,新标签
- html5 中新添加的标签以及新增表单类型
- HTML5 新标签和属性(表单验证)
- 在表单提交中用到的html5新标签
- html5表单标签
- HTML5 form表单标签
- HTML5 表单标签
- HTML5-表单标签
- html5 表单标签
- html5表单新特性
- HTML5表单新特性
- html5表单新特性
- HTML5新表单
- HTML5新标签
- HTML5 中的新标签
- HTML5 新标签
- HTML5 新标签
- HTML5新标签
- 哈希查找
- hdu 2049 考新郎
- 《深入浅出struts2》--第八章,输入验证-内建验证程序required,requiredstring和stringlength
- Python高级编程——8.python是一门动态语言
- 二维RMQ--poj2019 cornfield
- HTML5 表单,新标签
- NOIP模拟:边的处理(分治)
- android事件分发(面试篇)
- java小项目之文本编辑器
- trafodion sqcheck运行慢问题定位
- java面向对象------‘’足球论之java面向对象‘’
- java的三目运算
- 安全渗透1
- Switch能否用string做参数?