Horje

How to add HTML action Attribute

On submit, send the form-data to a file named "/action_page.php" (to process the input).
index.html
Example: HTML
 <form action="/action_page.php" method="get">
  First name: <input type="text" name="fname"><br>
  Last name: <input type="text" name="lname"><br>
  <input type="submit" value="Submit">
</form> 

Output should be:

How to add HTML action Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin