HTML keygen tag
keygen stands for key generator.<keygen> element generates public-private key pair. The public key is sent to the server after submitting the form. This element is the child of form element.
Example
Try </>Warning! <keygen> is now obsolete.
Specific uses
It is used to protect password in a login system.
Related tags
Tags | Description |
---|---|
<form> | It breaks a line into multiple lines. |
| |
<input> | It breaks a line into multiple lines. |
|
Tag omission
There is no end tag of <keygen> element.
Global Attributes
All global attributes are applicable on <keygen> element.
Specific Attributes
Attributes | Description |
---|---|
autofocus | focuses the cursor element to the keygen input control. |
| |
challenge | a type of string to submit with public key. |
disabled | disables the keygen element. It is not focusable. |
| |
form | It associates keygen element with a form. |
| |
keytype | Some kind of key with RSA algorithm. |
| |
name | Specifies a unique name for processing |
|
Next Previous
Was this article helpful?