0

I came across a HTML code where a form is submitted without any method attribute, so I want to know in this case which method is used?

Tushar Vaghela
  • 1,203
  • 1
  • 17
  • 25
Kanuor
  • 55
  • 5
  • See other questions (https://stackoverflow.com/questions/2314401/what-is-the-default-form-http-method). To sum up: yes, it's valid and GET is assumed. – tbolon Jul 08 '20 at 16:26
  • 3
    Does this answer your question? [What is the default form HTTP method?](https://stackoverflow.com/questions/2314401/what-is-the-default-form-http-method) – tbolon Jul 08 '20 at 16:26

1 Answers1

0

https://www.w3schools.com/tags/att_form_method.asp shows that it is GET (which surprised me a bit!)

Chris
  • 1,644
  • 1
  • 11
  • 15