tryit_yourcode See Results <!DOCTYPE html> <html> <body> <h2>The formmethod Attribute</h2> <form action="/sample_page.php" method="get"> First name: <input type="text" name="fname"><br><br> Last name: <input type="text" name="lname"><br><br> <input type="submit" value="Submit"> <input type="submit" formmethod="post" value="Submit using POST"> </form> </body> </html>