HTML Home
HTML Tags Reference
Selected Reading
© 2011 TutorialsPoint.COM
|
HTML <keygen> tag
Function:
The HTML <keygen> tag is used to process Web forms with certificate management systems. The element generates a secure key and submits the public key.
NOTE: This is a Netscape only element, and there is not a lot of documentation on it.
Difference between HTML and XHTML:
In HTML the <keygen> tag has no end tag.
In XHTML the <keygen> tag must be properly closed.
Example:
<form>
<keygen name="random_key" challenge="0987654321">
<input name="firstname" value="first name">
</form>
|
Attributes:
Attribute | Value | Description |
name | unique name | Specifies the name for the name/value pair. |
challenge | challenge | specifies the challenge string to be packaged with the public key in the PublicKeyAndChallenge for use in verification of the form submission. If no challenge string is provided, then it is encoded as an IA5STRING of length zero. |
Standard Attributes:
Attribute | Description |
class | Document wide identifier |
dir | Specifies the direction of the text |
id | Document wide identifier |
title | Specifies a title to associate with the element. |
style | Helps to include inline casecadubf style sheet. |
lang | Sets the language code. |
xml:lang | Sets the language code. |
|
|
|