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 name du fieldset</h1> <form action="https://www.w3schools.com/action_page.php" method="get"> <fieldset name="personalia"> <label for="fname">Prénom :</label> <input type="text" id="fname" name="fname"> </fieldset> <br> <button type="button" onclick="form.personalia.style.backgroundColor='yellow'">Changer la couleur de fond du fieldset</button> <input type="submit"> </form> </body> </html>