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> <head> <style> .button { couleur de fond: #D74444; bordure: aucune; couleur: blanc; padding: 15px 32px; text-align: center; text-decoration: none; affichage: inline-block; taille de police: 16px; marge: 4px 2px; curseur: pointeur; } </style> </head> <body> <h2>CSS Style de Bouton de Base</h2> <p>Bouton par défaut sans style :</p> <button>Cliquez sur moi</button> <p>Un élément a stylisé comme un bouton :</p> <a href="#" class="button">Cliquez sur moi</a> <p>Un élément de bouton :</p> <button class="button">Cliquez sur moi</button> <p>Un élément d'entrée de type bouton :</p> <input type="button" class="button" value="Click me"> </body> </html>