Forms are the essential and inevitable component of any web application and so the input type elements. HTML5 provides a variety of different types (whopping 13!) for input element; which were not present in the earlier versions of HTML and needed an explicit implementation either by JavaScript functions or jQuery or other frameworks.
表单是Web应用中最重要和最常使用的组件,输入类型元素也一样。HTML5包含许多种输入元素类型(多达13种);而且都是新增的元素支持,旧版本HTML不支持这些元素,必须使用JavaScript或jQuery才能模拟出这些输入类型的行为。
The objective of this article is to cover the various types available for ‘input’ element in HTML5. The new types are
本文将介绍HTML5的各种输入类型。新的类型有:
number
search
week
color
range
time
tel
date
datetime
url
month
datetime-local
详情请点击:http://www.ezcx.net/
推荐文章
2021-01-20 18:23:14
2021-01-22 17:24:38
2021-01-25 17:06:11
2021-01-28 17:37:27
2021-02-01 17:32:55
2021-02-03 17:41:37
2021-02-05 17:23:07
2021-02-08 16:59:58
稳定
产品可用性高于99.9%贴心
全国7*24小时客服热线专业
产品经理在线技术支持快速
快速上线运营快承诺
我们选择声誉坚持
10年专注高端品质开发