Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document</title> <style> p:nth-child(odd) { background: #1c87c9; color: #eeeeee; } p:nth-child(even) { background: #666666; color: #eeeeee; } </style> </head> <body> <p>La première paragraphe.</p> <p>La deuxième paragraphe.</p> <p>La troisième paragraphe.</p> </body> </html>