Keygen is a HTML5 element used to specifies a key-pair generator field for forms. It creates two keys one private and other public, when form is submited the private key is stored locally and public key is sent to server.
<keygen name="name">
You can define one or more than one keygen element in a document.
Open notepad or any other text editor, follow the following points.
save file with name task.html or task.htm and then open it using any browser and see results.