State the use of Input element in HTML forms. Write about the different attributes of input tag.
Answers
Answered by
11
input element as name suggests is used for getting input from user in form of text, email, password and click
type, id are some attribute of input element.
type attribute is used to tell the browser to which type of user wants here text, password, button are some examples of it's properties... and id attribute is used to target that specific input element with the help[ of JavaScript to validate it.
Answered by
0
Answer:
write the correct syntax of [ input ] elements like colour file URL, email,and search
Similar questions