You are here: Reference > HTML > attributes > challenge (keygen)

challenge attribute (keygen)

Browser support:
Sets a challenge string for verification of an encrypted package.
For a detailed description, visit the keygen element (Netscape Devedge) site.

Possible values:

The challenge string for verification. If not defined, then the empty string will be used for the encryption.
Default: this attribute has no default value.

Example HTML code 1:

This example illustrates the use of the challenge attribute:
<form method="post" action="#URL#" enctype="application/x-www-form-urlencoded">
    <keygen name="key" challenge="1125983021" />
    <input type="text" name="textToCode" value="Some Text" />
    <br />
    <input type="submit" value="Send" />
</form>
Did you find this example helpful? yes no

Supported by tags:

External links:

User Contributed Comments

Post Content

Post Content