Welcome to the Treehouse Community
Looking to learn something new?
Bojie JiangCourses Plus Student 8,221 Points
type=“submit” is missing in http://httpbin.org/forms/post
Looked at source code of http://httpbin.org/forms/post. On the submit order button, it just be <button>Submit order</button>. It not declare the type of submit like <button type=“submit” >Submit order</button>, but it works. So is that ok for a form just which contains one button and not define submit type?
Brian DuPont30,448 Points
A button element has 3 values for the "type" attribute (submit, reset, button). The button element will default to type="submit" if not declared.