Which tag is used to collect information from user in HTML? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Which tag is used to collect information from user in HTML?

I wrote head, meta both are wrong. is it input, form etc. ?

25th Feb 2017, 5:24 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
11 Answers
+ 10
form
26th Feb 2017, 8:30 PM
sonali
sonali - avatar
+ 3
right answer is form tag bcoz user enter the information in <input type="text" name="name"> but data retrieve and send to server by form tag example <form action="data.php" method="post"> <input type="text" name="name"> <input type="text" name="phone"> <input type="text" name="email"> <textarea rows="5" cols="5"></textarea> <input type="submit" name="submit" value="send"> </form>
27th Feb 2017, 4:36 AM
SANDEEP SINGH RAWAT
SANDEEP SINGH RAWAT - avatar
+ 1
Input ,this challenge question?
25th Feb 2017, 5:36 AM
Albertz
Albertz - avatar
+ 1
yes. but meta too used for this purpose. question should be bit clear.
25th Feb 2017, 5:37 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
+ 1
Yeps the question for html make confuse, and when insert blank line to much. Iam using phone keyboard not pc keyboard.that so hard. To many typo.
25th Feb 2017, 5:42 AM
Albertz
Albertz - avatar
+ 1
yes same problem here, in mobile keypad struck sometimes and timer keep going. it can be good question in mcq but ambiguous to write answer. to collect user data, sessionStorage is also used in HTML5 so its hard to think many possibilities and do type retype in mobile.
25th Feb 2017, 6:40 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
+ 1
why it is not input @sona?
27th Feb 2017, 2:22 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
0
Hii sonali
18th Sep 2017, 5:00 PM
SANDEEP SINGH RAWAT
SANDEEP SINGH RAWAT - avatar
0
Fill in the blanks: < method="POST" action="#"> <input type="text" name="name" > < type="submit" name="submit"> </ >
11th Jan 2018, 2:40 AM
Marisa B Abas
Marisa B Abas - avatar
0
< method="POST" action="#"> <input type="text" name="name" > < type="submit" name="submit"> </ >
21st Mar 2018, 5:11 PM
Omaya Stephen
0
form
11th Apr 2018, 6:29 AM
Mahnoor Shahzad
Mahnoor Shahzad - avatar