What is HTML action Attribute?

HTML, HTML Attributes , 0 Comments

The action attribute indicates where to send the form data on submitting the form by the user. (e.g. a PHP script that handles the form data).

You can use action attribute on form tag.


<form action="/my_actioon_page.php" method="get">
  Name: <input type="text" name="name">
  <input type="submit" value="Submit">

Browser Support

action Yes Yes Yes Yes Yes

Leave a Reply

Your email address will not be published.