X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR BOOTSTRAP XML ASP.NET 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 »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The name attribute for the <keygen> tag is supported in Firefox, Opera, Chrome, and Safari 6.


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.


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