Computer Science, asked by vishalmahajan8484, 1 year ago

What is a Form ? List the elements used to create forms in HTML.

Answers

Answered by MOSFET01
6
HTML form on a web page allows a user to enter data that is sent to a server for processing. Forms can resemble paper or database forms because web users fill out the forms using checkboxes, radio buttons, or text fields.

text — a simple text box that allows input of a single line of text.

email - a type of text that requires a partially validated email address

number - a type of text that requires a number

password — similar to text, it is used for security purposes, in which the characters typed in are invisible or replaced by symbols such as *)

radio — a radio button

file — a file select control for uploading a file

reset — a reset button that, when activated, tells the browser to restore the values to their initial values.

submit — a button that tells the browser to take action on the form (typically to send it to a server)

textarea — much like the text input field except a textarea allows for multiple rows of data to be shown and entered

select — a drop-down list that displays a list of items a user can select from

Similar questions