HTML and CSS Reference
In-Depth Information
Name
keygen
Synopsis
<keygen> (XHTML: <keygen/> or <keygen /> )
Not in HTML 4.01 . Used as part of a form to generate key pairs that are used in web-based
certificate management systems (for secure transactions).
Usage
Categories:
Flow content, phrasing content, interactive content, palpable content, and “listed, labe-
lable, submittable, and resettable form-associated element”
Permitted contexts:
Where phrasing content is expected
Permitted content:
Empty
Start/end tags:
This is an empty (void) element, meaning it has only a start tag and may not have any con-
tents. In HTML, the end tag is forbidden. In XHTML, the element must be closed with a
trailing slash ( <keygen/> or <keygen /> ).
Attributes
HTML5 Global Attributes
autofocus ( autofocus="autofocus" in XHTML)
Indicates the control should be active and ready for user input when the document loads.
Search WWH ::




Custom Search