HTML5 introduces several form elements. We will talk about those form elemenst in this chapter.
This element has been used to make secure authentication of users. The keygen elements genterates a pair of keys - public and private. While the private one is saved on the clients machine, public one is sent to the server. the public key sent to the server can be used to authenticate the user in future. Currently, browser support for this element is not satisfactory.
Datalist provides a set of options to choose from for an input field. To bind a datalist to an input , list attribute of the input type and id of datalist are kept same.
This element is used for calculation of differnt types of output on the browser.
Lets deal with some interesting attributes element introduced in HTML5 which make our work easier :-