uppercase-form-method¶
Added in 0.2.9 · Related issues · View source
Fix is always available.
What it does¶
Checks for non-lowercase method attribute values on <form> elements.
Why is this bad?¶
HTML form method values are case-insensitive, but the HTML spec and
conventional usage write them in lowercase (get, post, dialog).
Uppercase or mixed-case values are stylistically inconsistent.
Example¶
Use instead: