HTML Form tag is used when you want to collect your website users or visitors data.
A form contains many controls such as input field, password field, radio buttons, checkboxes, submit buttons etc.
Syntax
1 2 3 |
<form action="script url" method="get or post"> form elements to put here like input, checkbox etc. </form> |
This is the example for attribute enctype, you can use this example to upload form data in format of files.
Example