HTML, XHTML MP provides numerous input element types for obtaining
data from users. The following input element types are available in
of the above input elements are created with the <input>
element. To send the user data to the server, the <input>
element has to be used in conjunction with the <form> element.
The <form> element will be mentioned in more detail later at
the "Sending Data to the Server
in XHTML MP" section.
type attribute of the <input> element defines the input
element type in XHTML MP.
name attribute of the <input> element specifies the name
of the input element. The name will be used to retrieve the user data
at the server.