" To refer to more than one form, use a space-separated list of form ids. " How? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 32

" To refer to more than one form, use a space-separated list of form ids. " How?

The form attribute specifies one or more forms an <input> element belongs to <html> <head> <title>Page Title</title> </head> <body> <form id="f"> firstname= <input type="text"> </form> <form id="m"> lastname= <input type="text"> </form> <input form="f m" type="reset"> </body> </html>

3rd Feb 2018, 7:32 PM
Athena
Athena - avatar
9 Answers
+ 25
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <form id="f"> firstname= <input type="text"> </form> <form id="m"> lastname= <input type="text"> </form> <input form="f m" type="reset"> </body> </html>
4th Feb 2018, 10:51 PM
Athena
Athena - avatar
+ 3
Add the code that you tried. What I can understand from the statement is that you instead of referring to two forms like "Form1,Form2" you need to refer to it like: "Form1 Form2" with a space instead of a comma
3rd Feb 2018, 7:38 PM
Limitless
Limitless - avatar
+ 3
If only we had Athena's code
4th Feb 2018, 10:15 AM
Limitless
Limitless - avatar
+ 2
hii athena
4th Feb 2018, 4:29 AM
Aaditya Gupta
Aaditya Gupta - avatar
+ 1
are you girl ?
23rd Feb 2018, 4:52 PM
hex
hex - avatar
+ 1
hi there are you fine you're beautiful profile
3rd Mar 2018, 9:38 PM
Hamed
Hamed - avatar
0
perfect site for learn programing
10th Feb 2018, 4:43 AM
Syed Hamza Gillani
Syed Hamza Gillani - avatar
0
hello all !
23rd Aug 2018, 4:31 AM
Oyatullo Sangov
Oyatullo Sangov - avatar
5th Feb 2018, 2:30 AM
Cornelious Pegues
Cornelious Pegues - avatar