This page is describing the attributes assigned only to "auxiliary" form group of HTML5 elements. By "auxiliary" we refer to elements that do not necessarily belong to <form> element stadard sub-elements and attributes. To learn more about the new HTML5 form attributes, return to the previous chapter.
Attributes and related elements:
name attribute:
keytype (rsa, dca, es) attribute:
autofocus attribute:
form attribute:
challenge attribute:
disabled attribute:
for attribute:
Attribute characteristics and purpose:
- <keygen>: specifies the name of the <keygen> element
- <output>: Specifies the name of the <output> element
keytype (rsa, dca, es) attribute:
- <keygen>: specifies which security algorithm will be used
- <keygen>: tells browser whether the <keygen> element will get an automatic focus after page loads, or not; the value is autocomplete
- <keygen>: specifies form or forms that the <keygen> element belongs too; the value is form_id
- <output>: specifies form or forms that the <output> element belongs too; the value is form_id.
- <keygen>: defines the <keygen> as "to be challenged" when submitted.
- <keygen>: a standard disabled value that most of the form element have; it disables the <keygen> element.
- <output>: used as a pointer that specifies which element (or elements) the <output> element is linked to; the value must be that element's id attribute or, if more than one, ids separated by empty space.
Examples
Example with keygen element's attributes:
Example with output element's attributes name and for:
Comments
No comments have been made yet.
Please login to leave a comment. Login now