Skip to content

Commit

Permalink
Editorial mistake
Browse files Browse the repository at this point in the history
`formenctype` overrides form owners `enctype` not action.
  • Loading branch information
ajuchacko authored Jan 19, 2025
1 parent b2ac8c6 commit 249b108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/html/element/input/submit/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ A string that identifies the encoding method to use when submitting the form dat
- `text/plain`
- : Plain text; mostly useful only for debugging, so you can easily see the data that's to be submitted.

If specified, the value of the `formenctype` attribute overrides the owning form's [`action`](/en-US/docs/Web/HTML/Element/form#action) attribute.
If specified, the value of the `formenctype` attribute overrides the owning form's [`enctype`](/en-US/docs/Web/HTML/Element/form#enctype) attribute.

This attribute is also available on [`<input type="image">`](/en-US/docs/Web/HTML/Element/input/image) and {{HTMLElement("button")}} elements.

Expand Down

0 comments on commit 249b108

Please sign in to comment.