Skip to content
Related Articles

Related Articles

Improve Article

HTML | <input> formaction Attribute

  • Last Updated : 03 Jun, 2019

The HTML <input> formaction Attribute is used to specify where to send the data of the form. After submission of the form the formaction attribute called. The form data is to be sent to the server after submission of the form. It overrides the feature of the action attribute of an <form> element.


<input formaction="URL"> 

Attribute Values: It contains single value URL which is used to specify the URL of the document where the data to be sent after submission of the form.
The possible value of URL are:

  • absolute URL: It points to the full address of a page. For example:
  • relative URL: It is used to point to a file within in a webpage. For Example: gfg.php


<!DOCTYPE html>
        HTML <input> formAction Attribute
<body style="text-align:center;">
        HTML  <input> formAction Attribute 
    <form action="#"
        <input type="text" 
        <input type="submit">


Supported Browsers: The browsers supported by HTML | <input> formaction Attribute are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Apple Safari
  • Opera

Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :