Connecting...

This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of HTML 5
For more information, please see full course syllabus of HTML 5
HTML 5 Forms
Lecture Description
In this lesson, our instructor Jim Hague goes through an introduction on forms. He starts by explaining the purpose of a form. Then, he goes over the form elements, including form tag and input type. Lastly, he discusses the type attributes.
Bookmark & Share
Embed
Share this knowledge with your friends!
Copy & Paste this embed code into your website’s HTML
Please ensure that your website editor is in text mode when you paste the code.(In Wordpress, the mode button is on the top right corner.)
×
Since this lesson is not free, only the preview will appear on your website.
- - Allow users to view the embedded video in full-size.
Next Lecture
Previous Lecture
0 answers
Post by Steven Morrison on September 26, 2013
I think there is a mistake @ 13:10
For submit you have got the attribute type="file", should it not be type="submit" ?
1 answer
Wed Sep 5, 2012 4:56 PM
Post by David Perry on August 31, 2012
Hidden is used mainly for passing things to the backend from what I have seen. IF I was new - I would be very confused on how you explained some of those attributes. You need to add more "here's WHY you don't use this" or "here's where you would use this" to give the tag more depth as to where it would actually be used and why it would be used and a real world example for the tags.
I inject a PHP generated token into a form for security as a hidden field. Pass that value to the backend for processing.
Well, I would love to know how people can learn this language without real world examples to help them place the items in the proper places.
It would have been nice to have some HTML 5 mixed with PHP to really show the tags and how they would be used.
0 answers
Post by Jorge Guerrero on June 29, 2012
Most of the new form and input attributes in HTML5 are not available in IE. I think this is for the purpose of keeping things simple, as most new form controls are pre-coded. I like it better this way. Code in the back-end, uncomplicate and keep things simple in the front-end; otherwise, you'll get new programmers confused and seasoned frustrated as front-end invades the turf of back-end.