HTML5新增的表单元素和属性实例解析

2020-04-22 07:41:37易采站长站整理

但这些类型都没有得到广泛的支持
具体如下:
日期和时间(含时区):
<input type=”datetime”>
日期和时间(不含时区):
<input type=”datetime-local”>
时间选择器文本框:
<input type=”time”>
日期选择器文本框:
<input type=”date”>
年的周号选择器文本框:
<input type=”week”>
月份选择器文本框:
<input type=”month”>
</pre>
</section>
</article>
</fieldset>
<footer>
<section>
<h5>
HTML5 新元素–表单元素
</h5>
</section>
</footer>

</html>