--- id: html-input-form-attributes title: "HTML Input Form Attributes" category: "Frontend" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["input form attributes", "formaction", "formmethod", "formtarget", "formnovalidate", "form override attributes"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.89 created_at: 2026-06-23 updated_at: 2026-06-23 review_reason: "" merge_history: [] tags: ["html", "web", "frontend", "forms", "input", "w3schools"] raw_sources: ["https://www.w3schools.com/html/html_form_attributes_form.asp"] applied_in: [] github_commit: "" --- # [[HTML Input Form Attributes]] ## π― ν μ€ ν΅μ°° (One-line insight) The `form*` family of `` attributes (`form`, `formaction`, `formenctype`, `formmethod`, `formtarget`, `formnovalidate`) lets an individual input override its parent `
``` **The formaction attribute** β specifies the URL of the file that will process the input when the form is submitted; it overrides the `action` attribute of the ` ``` **The formenctype attribute** β specifies how the form data should be encoded when submitted (only for `method="post"`); it overrides the `enctype` attribute of the ` ``` **The formmethod attribute** β defines the HTTP method (GET or POST) for sending form data to the action URL; it overrides the `method` attribute of the ` ``` **The formtarget attribute** β specifies a name or keyword indicating where to display the response after submitting the form; it overrides the `target` attribute of the ` ``` **The formnovalidate attribute** β specifies that an `` element should not be validated when submitted; it overrides the `novalidate` attribute of the ` ``` **The novalidate attribute (form-level)** β a `