HTML keygen disabled property
Examples
A disabled <keygen> element:
<form action="demo_keygen.html" method="get">
Username: <input type="text" name="usr_name">
Encryption: <keygen name="security" disabled>
<input type="submit">
</form>
Username: <input type="text" name="usr_name">
Encryption: <keygen name="security" disabled>
<input type="submit">
</form>
try it"
Browser Support
disabled property Firefox, Opera, Chrome and Safari 6 Support <keygen> tag.
Definition and Usage
disabled attribute is a Boolean attribute.
disabled property provisions should be disabled <keygen> element. Disabled fields are not available, can not be edited.
It can be set on the disabled attribute so that the user when certain conditions are met (for example, check the box, etc.) in order to use the field. Then, you can use JavaScript to remove the disabled value, so that the field becomes usable state.
Differences between HTML 4.01 and HTML5
<Keygen> tag is new in HTML5 tags.
Differences between HTML and XHTML
In XHTML, prohibit attribute minimization, disabled attribute must be defined as <keygen disabled = "disabled" />.
grammar
<keygen disabled>
HTML <keygen> tag