Is it a good practice to use an empty URL for a HTML form’s action attribute? (action=””)

The best thing you can do is leave out the action attribute altogether. If you leave it out, the form will be submitted to the document’s address, i.e. the same page. It is also possible to leave it empty, and any browser implementing HTML’s form submission algorithm will treat it as equivalent to the document’s … Read more