HTML Form Attributes
Form attributes control how form data is sent.
Common Form Attributes
<form
action="submit.php"
method="post"
target="_self"
autocomplete="on">
Attributes Explained
action→ URL to send datamethod→ GET or POSTtarget→ where response opensautocomplete→ browser autofill
Important Notes
POSTis used for sensitive dataGETappends data to URL- Attributes affect form behavior