HTML 5 <keygen> Tag
Definition and Usage
The <keygen> tag defines a generated key.
Differences Between HTML 4.01 and HTML 5
The keygen element is new in HTML.
Attributes
New : New in HTML 5.
Attribute |
Value |
Description |
autofocusNew |
disabled |
Makes the input field focused on page load
Note: Cannot be used with type="hidden" |
challengeNew |
challenge |
If present, the value of the keygen is set to be challenged
when submitted. |
disabledNew |
disabled |
Disables the input element when it first loads so that the
user can not write text in it, or select it.
Note: Cannot be used with type="hidden" |
formNew |
formname |
Defines one ore more forms the input field belongs to. |
keytypeNew |
rsa |
Defines the keytype.
rsa generates a RSA key. |
nameNew |
fieldname |
Defines a unique name for the input element. The name attribute is used to collect the fields value when submitted. |
Standard Attributes
The <a> tag also supports the Standard Attributes in HTML 5.
Event Attributes
The <a> tag also supports the Event Attributes
in HTML 5.
|