Tutorial for Action Attribute in html used in php

What is Action Attribute?

It contains a URL that defines where to send the data after submitting the form.

It specifies the physical address of the server to which the user data should be redirected at the click of the submit button.

The action property specifies what should happen when the form is submitted.

When a user presses the submit button, the form data is usually transferred to a server file.

The form data is delivered to a file called “action page.php” in the example below. This file includes a server-side script for dealing with form data:

Example:-

Output:-

Tagged : / / / / / /