Keygen name
Attribute
Example
Return the name attribute value of the keygen field:
x Output result:
Definition and Usage
The name attribute is used to set or return the name attribute value of the keygen field.
The name attribute describes the name attribute value of the keygen field, used to reference the data after the form data has been submitted, or to reference it in JavaScript scripts.
Note: Only when used within form elements can the name attribute pass data to the backend server upon form submission.
Browser Support
All major browsers support the disabled attribute, except Internet Explorer.
Syntax
Return the name attribute:
Set the name attribute:
Attribute Values
Value | Description |
---|---|
name | Describes the name of the keygen field. |
Technical Description
| Return Value: | String, representing the name of the keygen field. | | --- | --- |
More Examples
Example
Modify the name attribute value of the keygen field:
Related Pages
HTML Reference: HTML <keygen> name Attribute