HTML5 only. Used as part of a
generate key pairs that are used in web-based certificate management
systems (for secure transactions).
This is an empty element. It must be closed with a trailing slash in XHTML5 documents. Developers may include a space character before the slash for backward compatibility with older browsers.
formon the page.
The following is based on an example from developer.mozilla.org, used with permission via a Creative Commons “Attribution-Share Alike” License:
<form method="post" action="http://www.example.com/cgi-bin/ decode.cgi">
<keygen name="RSA public key" challenge="123456789" keytype="RSA">
<input type="submit" name="createcertificate" value="Make Key">