"Build a Basic PHP Website (2018)" was retired on December 10, 2019. You are now viewing the recommended replacement.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed HTML Forms!
You have completed HTML Forms!
The first element we’ll learn about is the form element. This special element wraps all the other elements that go inside of our form.
The <form> element
- The
form-element wraps a section of the document that contains form controls. Theactionattribute specifies the web address of a program that processes the information submitted via the form. Themethodattribute specifies the HTTP method that the browser should use to submit the form, such as POST or GET. A form cannot be nested inside one another form.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated 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