Tutorials References Exercises Videos NEW Menu
Paid Courses Website NEW

HTML <keygen> name Attribute

❮ HTML <keygen> tag


A form with a keygen field:

<form action="/action_page.php" method="get">
  Username: <input type="text" name="usr_name">
  Encryption: <keygen name="security">
  <input type="submit">
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.

name Yes Not supported Yes 6.0 Yes


<keygen name="name">

Attribute Values

Value Description
name The name of the <keygen> element

❮ HTML <keygen> tag