HTML <input> with formtarget Attribute
HTML <input> with formtarget Attribute
The formtarget
attribute specifies where to display the response that is received after submitting the form.
_blank
Load the response into a new window, when a form is submitted.
Example
Attribute Value
Value | Explanation |
---|---|
_blank | Load the response into a new window, when a form is submitted. |
_self | Load the response into the same frame, when a form is submitted. |
_parent | Load the response into the parent frame (one frame above the actual frame), when a form is submitted. |
_top | Load the response into the top most frame (whole window of the same page), when a form is submitted. |
_self
Load the response into the same frame, when a form is submitted.
Example
_parent
Load the response into the parent frame (one frame above the actual frame), when a form is submitted.
Example
_top
Load the response into the top most frame (whole window of the same page), when a form is submitted.
Example
Reminder
Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in HTML.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.