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> p:first-child { couleur: bleu; } </style> </head> <body> <h2>Utilisez p:first-child</h2> <p>Stylez tout élément p qui est le premier enfant de tout élément :</p> <div> <p>Ceci est un texte.</p> <p>Ceci est un texte.</p> <div> <p>Ceci est un texte.</p> <p>Ceci est un texte.</p> </div> </div> <div> <p>Ceci est un texte.</p> <p>Ceci est un texte.</p> </div> </body> </html>