If you have any query feel free to chat us!
Happy Coding! Happy Learning!
There are several attributes that can be used to control the behavior of an HTML form:
action
: Specifies the URL of the page that will process the form data when the form is submitted. For example:lessCopy code
<form action="https://www.example.com/form-processor">
...
</form>
method
: Specifies the HTTP method (e.g. GET or POST) to be used when submitting the form data. For example:phpCopy code
<form action="https://www.example.com/form-processor" method="post">
...
</form>
enctype
: Specifies the encoding type to be used when submitting the form data. The default value is "application/x-www-form-urlencoded". For file uploads, use "multipart/form-data". For example:phpCopy code
<form action="https://www.example.com/form-processor" method="post" enctype="multipart/form-data">
...
</form>
target
: Specifies the target frame or window where the result of the form submission should be displayed. For example:phpCopy code
<form action="https://www.example.com/form-processor" method="post" target="_blank">
...
</form>
name
: Specifies the name of the form, which can be used to access the form and its elements using JavaScript. For example:phpCopy code
<form action="https://www.example.com/form-processor" method="post" name="contact-form">
...
</form>
onsubmit
: Specifies a JavaScript function to be executed when the form is submitted. This can be used to perform form validation before the form data is sent to the server. For example:phpCopy code
<form action="https://www.example.com/form-processor" method="post" onsubmit="return validateForm()">
...
</form>
When will I get my course?
Now, Your query was resolved.
Quick answers to common questions about our courses, quizzes, and learning platform
I am not able to access videos from second class and further. I have already completed first class