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

  • email

  • range

  • time

  • tel

  • date

  • datetime

  • url

  • month

  • datetime-local

详情请点击:http://www.ezcx.net/

 

 

 

稳定

产品可用性高于99.9%

贴心

全国7*24小时客服热线

专业

产品经理在线技术支持

快速

快速建站上线运营快

承诺

我们选择声誉

坚持

10年专注高端品质开发
  • 返回顶部