htmlcss

The void HTML <keygen /> element was introduced in HTML5. It defines a generated key.


Attributes

Attributes Value Description
autofocus disabled Makes the input field focused on page load. Cannot be used with type="hidden".
challenge challenge If present, the value is set to be challenged when submitted.
disabled disabled Disables the <input /> element when it first loads so that the user can not write text in it, or select it. Cannot be used with type="hidden".
form formname Defines one or more forms the input field belongs to.
keytype rsa Defines the keytype. rsa generates a RSA key.
name fieldname Defines a unique name for the <input /> element. The name attribute is used to collect the fields value when submitted.