HTML <form> target Attribute

❮ HTML <form> tag

Example

<form target="_blank" action="action.php" >

Meaning

The target attribute specifies the target frame that will display the results of a form submission.

In addition to named frames, several special values exist.

The _blank value indicates a new window.

The _parent value indicates the parent frame set containing the source link.

The _self value indicates the frame containing the source link.

The _top value indicates the full browser window.


Standard Syntax

<form target="_blank|_parent|_self|_top|frameName">



Browser Support




Status







Attribute Values

Value Description
_blank The value indicates a new window.
_parent The value indicates the parent frame set containing the source link.
_self The value indicates the frame containing the source link.
_top The value indicates the full browser window.
frameName The value indicates the named iframe.
❮ HTML <form> tag