X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML <keygen> name Attribute

HTML keygen Tag Reference HTML <keygen> tag

Example

A form with a keygen field:

<form action="demo_keygen.asp" method="get">
  Username: <input type="text" name="usr_name">
  Encryption: <keygen name="security">
  <input type="submit">
</form>

Try it yourself »

Definition and Usage

The name attribute specifies the name of a <keygen> element.

The name attribute of the <keygen> element is used to reference form data after the form has been submitted.


Browser Support

The numbers in the table specify the first browser version that fully supports the attribute.

Attribute
name Yes Not supported Yes 6.0 Yes


Differences Between HTML 4.01 and HTML5

The <keygen> tag is new in HTML5.


Syntax

<keygen name="name">

Attribute Values

Value Description
name The name of the <keygen> element


HTML keygen Tag Reference HTML <keygen> tag

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook