Choose your pricing plan
membership renewal
85$Valid for one year- One year membership
Heading 6
!-- File Uploader HTML-->
<form action="fileupload.php"
enctype="multipart/form-data"
method="post"><label class="custom-uploader" for="file">Upload Your File</label>
<input id="file" accept="image/jpeg,image/gif,image/png,application/pdf,image/x-eps"
name="fileToUpload" type="file" />
<button class="btn btn-success"
name="submit" type="submit"> Upload File </button></form>
-
<form>: HTML <form> is used to display a form on the website. Forms are used for various purposes, including uploading files, submitting feedback, or signing up for newsletters.
-
Action: The HTML form action is the URL to which the form submits the data.
-
Method: The method attribute is used to specify the HTTP method used to send data while submitting the form. There are two types of methods available.
-
POST
-
GET
-
Enctype: The enctype attribute specifies the encoding type for a form element. This can be set to “multipart/form-data” or “application/x-www-form. multipart/form-data is necessary if your users are required to upload a file through the form.
-
<label>: The <label> HTML tag represents a caption for an item in an interface. It is not mandatory to upload files. It is used just for the caption.
-
<input>: HTML inputs are used to make interactive controls for web-based forms to accept user input data.
-
Type: HTML form input type is a type of input that will automatically validate the data and format it according to specified formats. In this case type=”file” is required to upload a file.
-
Name: The HTML INPUT NAME attribute is used to specify a name for an INPUT element. It is used to reference the form data after submitting the form or reference the JavaScript or CSS element.
-
Submit: HTML’s type=”submit” tag defines a submit button. It is used to submit form information to a web form handler.
-
Accept: The accept attribute’s value is a semicolon-separated list of one or more file types or file type designations, specifying which file types to accept.