What will happens when there is no attributes provided for form element?
Answers
Answered by
1
Answer:
Hey friend!!
Thanks for asking!!
Here's your answer..
Form attribute mainly relies on two attributes action and method. Action attribute contains action to be performed when the form is submitted. Method specifies the HTTP method to be used when the form is submitted.
So when you will not mention this attributes then it will not perform those actions. It will just simply try to send a get request and reload the same page.
Also...
It will depend on the DOCTYPE you are validating against. For example in HTML 4.01 Transitional and Strict, the action attribute is required whereas the method attribute is optional.
Hope this helps!!
Please mark it as the brainliest..
Have a good day ahead :)
Similar questions