1. About.com
  2. Computing & Technology
  3. Web Design / HTML

Discuss in my forum

<keygen />

By , About.com Guide

KEYGEN Description:

The KEYGEN tag is used to process web forms with certificate management systems. The element generates a secure key and submits the public key.

This is a tag originally created by Netscape. Other browsers do have some support for it, but it's not part of the specification.

KEYGEN Web Browser Support:

HTML Versions

Not a part of any HTML versions.

KEYGEN Attributes:
  • challenge
  • keytype
  • name
  • pqg
KEYGEN End Tag:
None. KEYGEN is a singleton tag. You should include a closing slash in XHTML <keygen />
KEYGEN Contents:

None.

KEYGEN Valid Context:

The KEYGEN tag is valid within the following tags:
form

KEYGEN Usage:

standard keygen element

<form>
<keygen name="random_key" challenge="0987654321">
<input name="firstname" value="first name">
</form>
KEYGEN Special Notes:
  • This is a Netscape only element, and there is not a lot of documentation on it. I don't recommend using it.

©2012 About.com. All rights reserved. 

A part of The New York Times Company.