HTML| action Attribute
The HTML | action Attribute is used to specify where the form data is to be sent to the server after the submission of the form. It can be used in the <form> element.
URL: It is used to specify the URL of the document where the data is to be sent after the submission of the form.
The possible values of the URL are:
- absolute URL: It points to another website link. For Example: www.gfg.org
- relative URL: It is used to point to a file within a webpage. For Example: www.geeksforgeeks.org
Example-1: This Example illustrates the use of action attribute.
Supported Browsers: The browser supported by HTML action attribute are listed below.
- Google Chrome
- Internet Explorer
My Personal Notes arrow_drop_up
Please Login to comment...