HTML <keygen> disabled Attribute
A disabled <keygen> element:
Username: <input type="text" name="usr_name">
Encryption: <keygen name="security" disabled>
Try it yourself »
Definition and Usage
The disabled attribute is a boolean attribute.
When present, it specifies that a <keygen> element should be disabled. A disabled field is unusable and un-editable.
The numbers in the table specify the first browser version that fully supports the attribute.
Differences Between HTML 4.01 and HTML5
The <keygen> tag is new in HTML5.
Differences Between HTML and XHTML
In XHTML, attribute minimization is forbidden, and the disabled attribute must be defined as <keygen disabled="disabled" />.
HTML <keygen> tag
Thank You For Helping Us!
Your message has been sent to W3Schools.