PNews jun 2015 | Page 10

Tutorials Point, Simply Easy Learning radio An enumerated value. submit A free form of button initiates form submission. file An arbitrary file with a MIME type and optionally a file name. image A coordinate, relative to a particular image's size, with the extra semantic that it must be the last value selected and initiates form submission. hidden An arbitrary string that is not normally displayed to the user. select An enumerated value, much like the radio type. textarea A free-form text field, nominally with no line break restrictions. button A free form of button which can initiates any event related to button. Following is the simple example of using labels, radio buttons, and submit buttons: ...




Male
Female

... The element in HTML5 Apart from the above mentioned attributes, HTML5 input elements introduced sevral new values for the type attribute. These are listed below. NOTE: Try all the following example using latest version of Opera browser. Type Description datetime A date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with the time zone set to UTC. 10 | P a g e