Dom Obj Keygen
# HTML DOM Keygen Object
* * *
## Keygen Object
The Keygen object represents the keygen field of an HTML form.
This object provides a secure way to authenticate users.
When the form is submitted, the private key is stored locally, and the public key is sent to the server.
Each `` tag in an HTML document creates a Keygen object.
You can search for the keygen field using the form's elements[] array or by using document.getElementById().
> **Deprecated: This feature has been removed from the Web standards.**
* * *
## Keygen Object Properties
= New in HTML5.
| Property | Description |
| --- | --- |
| (#) | Sets or returns whether the keygen field should automatically get focus when the page loads. |
| challenge | Sets or returns the value of the challenge attribute of the keygen field. |
| (#) | Sets or returns whether the keygen field is disabled. |
| (#) | Returns a reference to the form that contains the keygen field. |
| (#) | Sets or returns the value of the keytype attribute of the keygen field. |
| (#) | Sets or returns the value of the name attribute of the keygen field. |
| (#) | Returns the type of the form element the keygen field is. |
## Standard Properties and Events
The keygen object also supports standard (#) and (#).
* * *
## Related Pages
HTML Reference: (#)
YouTip