HTML action attribute
HTML action attribute directs the form submission to the respective address. We write the address(URL) in the value of this attribute.
Preview Example
Try itExample
<form action="files/action.php" method="post">
First Name: <input type="text" name="fname"><br>
Last Name: <input type="text" name="lname"><br>
Tel: <input type="tel" name="Mnumber"><br>
Email: <input type="email" name="email" required><br>
<input type="submit" name="send" value="send">
</form>Attribute values
All possible values of action attributeThe value of action attribute is the URL where a form is processed after submission.