Session5 HTML Jr
Session5 HTML Jr
HTML Forms
• An HTML form is used to collect user input.
• The short hint is displayed in the input field before the user
enters a value.
Input Type email
• <input type=“email"> is used for input fields that should
contain an e-mail address.
Input Type number
• <input type=“number"> is defines a numeric input
field.
Input Type Password
• <input type=“password"> is defines a password field:
• The rows attribute specifies the visible number of lines in a text area.
• The cols attribute specifies the visible width of a text area.
Input Type Submit
• <input type=“submit"> is defines a button for
submitting form data to a form-handler.