Multiple choice technology web 2.0

Which element in HTML5 provides a secure way to authenticate users?

  1. keydata

  2. secureKey

  3. secureSession

  4. keygen

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The element in HTML5 generates a public/private key pair for secure user authentication. This allows browsers to create key pairs for certificate-based authentication without requiring plugins.

AI explanation

HTML5's element was designed to generate a public/private key pair on the client, submit the public key to the server (for signing into a client certificate), and keep the private key stored locally — a mechanism for strong client-side authentication. 'keydata', 'secureKey', and 'secureSession' are not real HTML elements; they're invented distractors. Note that has since been deprecated and removed from the HTML5 spec and browsers (superseded by the WebAuthn/Credential Management APIs), but historically it was the HTML5 element associated with key-pair-based authentication, which is what this question is testing.