Legacy & Obsolete Elements

<keygen>

Build a form with the HTML form generator

Obsolete or historical HTML; do not use in new documents. Generated a cryptographic key pair as part of form submission in older browsers. Do not recreate enrollment with hidden markup; use a reviewed authentication or enrollment protocol appropriate to the application. The syntax shows old markup for recognition only. The runnable example demonstrates a modern migration pattern, not the obsolete behavior.

Formal Syntax & Structure

html syntaxhtml
<keygen name="key">

Working Example

Example Snippethtml
<p>  <a href="/account/security">Manage account security</a></p>
HTML Reference