Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document</title> <style> p:last-of-type { background: #8ebf42; font-style: italic; color: #eee; } </style> </head> <body> <h2>Exemple du sélecteur :last-of-type</h2> <p>Paragraphe 1</p> <p>Paragraphe 2</p> <p>Paragraphe 3</p> </body> </html>