HTML5 new form element


<datalist>

<keygen>

<output>

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

<datalist> element

The <datalist> element specifies a list of options for the input field.

The <datalist> attribute specifies that the form or input field should have auto-completion. When the user starts typing in the auto-complete field, the browser should display the filled-in options in that field:

Use the list attribute of the <input> element to bind to the <datalist> element.

Run the program and try it out

<keygen> element


The <keygen> element is used to provide a reliable way to authenticate users.

The <keygen> tag specifies the key pair generator field for the form.

When the form is submitted, two keys are generated, one for the private key and one for 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 to later authenticate the user's client certificate.

Put the program in your editor, try running the program locally.

<output> element

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

Instance

Display the calculation results in the <output> element:

Run the program and try it out

HTML5 new form element

     label     description

    

    <datalist>

The <input> tag defines a list of options. Use this element with the input element to define the possible values ​​for input.
    <keygen>The <keygen> tag specifies the key pair generator field for the form.
    <output>The <output> tag defines different types of output, such as the output of a script.


Last Updated: 2018-07-06 12:32:44 By akshay

SHARE THIS

share_facebook share_twitter share_google_plus

Please Comment Here :