HTML <keygen> disabled Attribute
A disabled <keygen> element:
Username: <input type="text" name="usr_name">
Encryption: <keygen name="security" disabled>
Try it yourself »
The disabled attribute for the <keygen> tag is supported in Firefox, Opera, Chrome, and Safari 6.
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.
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.