Home  »  HTML   »   keygen

This tag stands for key generator. It is used to specify a key-pair generator field in a form. It generates private and public keys upon submission

name

represents the name of the keygen element.

  • text
challenge

represents a string that is submitted along with the key.

  • text
keytype

represents the type of key generated.

  • RSA
disabled

represents a control that should be disabled.

  • none
autofocus

represents a button that is automatically focused when the page loads.

  • none
form

represents to which form element it belongs.

  • form_id - id of the form element.

HTML keygen Example:

Edit Example