Sometimes, we want to submit HTML form to the current page.
In this article, we’ll look at how to submit HTML form to the current page.
How to submit HTML form to the current page?
To submit HTML form to the current page, we leave the action
attribute blank.
For instance, we write
<form action="">...</form>
to set the action
attribute to an empty string to leave it blank.
Conclusion
To submit HTML form to the current page, we leave the action
attribute blank.