HTML and CSS Reference
<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).
Flow content, phrasing content, interactive content, palpable content, and “listed, labe-
lable, submittable, and resettable form-associated element”
Where phrasing content is expected
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 /> ).
HTML5 Global Attributes
autofocus ( autofocus="autofocus" in XHTML)
Indicates the control should be active and ready for user input when the document loads.