<!DOCTYPE html>
<html>
<head>
<title>Titre du document</title>
<style>
p:nth-of-type(odd) {
background: #1c87c9;
}
p:nth-of-type(even) {
background: #8ebf42;
}
</style>
</head>
<body>
<h2>Exemple du sélecteur nth-of-type()</h2>
<p>Paragraphe 1</p>
<p>Paragraphe 2</p>
<p>Paragraphe 3</p>
<p>Paragraphe 4</p>
<p>Paragraphe 5</p>
<p>Paragraphe 6</p>
<p>Paragraphe 7</p>
<p>Paragraphe 8</p>
<p>Paragraphe 9</p>
<p>Paragraphe 10</p>
</body>
</html>