The action
attribute in
<form action="URL">
URL
: This is used to define the link or URL where we want our data to be sent once the form is submitted.The HTML code provided below demonstrates how to use the action
attribute:
We make a form. When the form is submitted, the data is sent to the signup page on the server.