Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
A form is not complete without a submit button. Once a user has finished filling out a form, they should be able to click a button that sends their data to the web server.
<button> element
Just as the name implies, the button
-element will render a clickable button. The type attribute specifies whether the button should submit the form data, reset the form, or have no default behavior for use with JavaScript.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Pitrov Secondary
5,121 Points2 Answers
-
Sam Weeks
Front End Web Development Techdegree Student 16,699 Points2 Answers
-
Stephen Chamroeun
7,095 Points1 Answer
-
Sandeep Krishnan
9,730 Points2 Answers
-
Heidi Hlavinka
4,006 Points0 Answers
-
Dylan Carter
4,780 Points2 Answers
-
Jim Dennis
13,075 PointsWouldn't it be good to point out that the "submit" element relates to the enclosing form's "action" attribute?
Posted by Jim DennisJim Dennis
13,075 Points0 Answers
-
Shamez Walji
6,602 Points5 Answers
-
Mar Bocatcat
7,405 Points2 Answers
-
frank colin
10,488 PointsWhy is the submit button automatically a green color?
Posted by frank colinfrank colin
10,488 Points2 Answers
-
Elena Paraschiv
9,938 Points1 Answer
-
PLUS
Tejveer Grewal
Courses Plus Student 2,937 Points3 Answers
-
Pratik Rai
6,856 Points4 Answers
-
franckmc
9,095 Points3 Answers
-
Naivedya Bansal
5,483 Points1 Answer
-
Joseph Longo
1,074 Points4 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up