# Set where to send the form-data when a form is submitted in HTML?

HTMLWeb DevelopmentFront End Technology

Use the formaction attribute in HTML to set where to send the form-data when a form is submitted in HTML.

## Example

You can try to run the following code to implement the formaction attribute −

<!DOCTYPE html>
<html>
</html>