HTML5 new form elements

HTML5 new form elements

  • < keygen>

Note: Not all browsers support HTML5 new form elements , but you can use them even if the browser does not support form attributes and still display them as regular form elements. The


## element

element specifies a list of options for the input field.

attribute specifies that the form or input field should have auto-complete functionality. When the user begins typing in an autocomplete field, the browser should display the filled-in options in that field:

Use the list attribute of the element to bind to the element.

    php中文网(php.cn) 

Run the program and try it


## Element The role of the element is to provide a A reliable way to authenticate users. The

tag specifies the key pair generator field to use on the form.

When the form is submitted, two keys will be generated, one is the private key and the other is the public key.

The private key is stored on the client, and the public key is sent to the server. The public key can be used later to verify the user's client certificate.

    php中文网(php.cn) 
用户名: 加密:

注意: Internet Explorer 不支持 keygen 标签。

Put the program into your editor and run the program locally to try it


Element

The element is used for different types of output, such as calculations or script output:

Example

Displays calculation results in < output> Element:

    php中文网(php.cn) 
0 100 + =

Run the program and try it


HTML5 new form element

Tag Description

Tag definition option list. Use this element in conjunction with an input element to define the possible values of the input.
The tag specifies the key pair generator field used for the form.
tag defines different types of output, such as script output.



Continuing Learning
||
php中文网(php.cn)
0 100 + =
submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!