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.
<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.
Related Tags
The tags that support action attribute<form> tag
-
HTML <form> tag defines a form that collects information from the user.
-
<p>Upload Video: <input type="file" accept="video/*"><p>
Try</>
Next Previous
Was this article helpful?