Exécuter
❯
Exécuter le code
Ctrl+Alt+R
Enregistrer le code
Ctrl+Alt+A
Changer d'orientation
Ctrl+Alt+O
Changer de thème
Ctrl+Alt+D
<!DOCTYPE html> <html> <body> <h1>L'attribut formmethod</h1> <form action="https://www.w3schools.com/action_page.php" method="get" target="_blank"> <label for="fname">Prénom :</label> <input type="text" id="fname" name="fname"><br><br> <label for="lname">Nom de famille :</label> <input type="text" id="lname" name="lname"><br><br> <input type="submit" value="Submit"> <input type="submit" formmethod="post" value="Submit using POST"> </form> </body> </html>