Input type ="submit" value= submit | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Input type ="submit" value= submit

im just wondering, when you type the input element it said there that it's a submit but doesn't said it would be a button. im confuse, hmmph can anyone tell me how it comes

3rd Nov 2016, 3:00 PM
Rodillo Pillio Gole Jr.
Rodillo Pillio Gole Jr. - avatar
5 Answers
+ 2
because type=submit change it to button and value=submit is its name.
3rd Nov 2016, 3:02 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 1
<Form> <input type="submit" value="Send"> </form> It will say send. If you want it to say button then change value to button.
3rd Nov 2016, 6:42 PM
Brian
+ 1
Input type ="submit" - The type attribute specifies the type of <input> element to display. In this case, will send some information ex. an email or a registration to something value= submit - is the name that will appear on the button. If you want you can change that in "press me" or whatever you want
16th Jan 2017, 7:08 PM
Crina Varlan
Crina Varlan - avatar
0
Kekos
3rd Nov 2016, 6:34 PM
Boev Denis
Boev Denis - avatar
0
This is just the first steps in a form, the button will be added later. They will show all of that by the end of the lesson. Its coming! 😉
9th Nov 2016, 7:01 AM
Georgia Hill-Hunt
Georgia Hill-Hunt - avatar