The target attribute of the FORM element specifies the window where the result is displayed.
<form method="POST" action="example.cgi" target="_top">
| Attribute | Value | Explanation |
|---|---|---|
| target=" " | _blank | the result opens in the new window |
| _top | the result opens in the entire window | |
| _self | the result opens in the same frame | |
| _parent | the result opens in the parent frame | |
| frame name | the result opens in the named frame |
The target attribute cannot be used with the Strict DTD.
The result is displayed in the bottom frame.

<form method="GET" action="example01c.html" target="bottom">
<p>Comment : <input type="text" name="name" size="50">
<input type="submit" value="Send"></p>
</form>