Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> <h2>The method Attribute With the GET Method</h2> <form action="/form/submit" target="_blank" method="GET"> Neame:<br> <input type="text" name="name" value="Tom"> <br> Surname:<br> <input type="text" name="Surname" value="Brown"> <br> Age:<br> <input type="number" name="Aage" value="21"> <br><br> <input type="submit" value="Submit"> </form> <p> Here we used the "_blank" value, which will open the form result in a new browser tab.</p> </body> </html>