Example
A form with a keygen field:
<form action="demo_keygen.asp" method="get">
Username: <input type="text" name="usr_name">
Encryption: <keygen name="security">
<input type="submit">
</form>
Definition and Usage
The <keygen> tag specifies a key-pair generator field used for forms.
When the form is submitted, the private key is stored locally, and the public key is sent to the server.
Differences Between HTML 4.01 and HTML5
The <keygen> element is new in HTML5.
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.