HTML5 adds 3 new form elements: 1. datalist element, which is used to set a drop-down list for input. The options inside are predefined and will be used as user input data; 2. keygen element. The key pair generator field used in the form can be specified; 3. The output element is used to output and display the calculation results.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
Three new form elements have been added to HTML5: datalist, keygen, and output.
1. datalist element
##
The above is the detailed content of What are the new form elements added in html5. For more information, please follow other related articles on the PHP Chinese website!
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn