<!DOCTYPE html>
<html lang="en-US">
<body>
<form action="/user-name.php" method="get">
Name: <input type="text" name="name">
<button type="submit" formtarget="_parent">Submit</button>
</form>
<p><strong>Note:</strong> This form's response will be opened in this page but in its parent frame(Here, the parent frame of this output window is a whole page).</p> </body>
</html>