+ 12
What is the keygen tag used for?
I'm learning, but not fully understanding what <keygen> 's purpose is. Is it to secure something? Please help. Thanks!
6 odpowiedzi
+ 8
Keygen is a tag that isn't used anymore. Keygen is a tag used in forms. For example:
<form action="/action_page.php" method="get">
Username: <input type="text" name="usr_name">
Encryption: <keygen name="security">
<input type="submit">
</form>
https://www.w3schools.com/TAGS/att_keygen_name.asp
+ 13
Thanks ᗰᗩᔕ丅ᗴᖇ! So basically a KEY- GENerator by what your saying?
+ 9
Its used to be used in forms, but isn't in HTML 5 anymore. Probably why you don't see it in the lessons.
+ 6
What is keygen anyway?
+ 3
Practically, yes. The alternative for it is JavaScript.
+ 2
The <keygen> tag in HTML isused to specify a key-pair generator field in a form. The purpose of <keygen> element is to provide a secure way to authenticate users. When a from is submitted then two keys are generated, private key and public key. The private key stored locally, and the public key is sent to the server.