Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Заголовок документа</title>
<style>
p:nth-of-type(3) {
background: #8ebf42;
}
</style>
</head>
<body>
<h2>Пример селектора :nth-of-type()</h2>
<p>Параграф 1</p>
<p>Параграф 2</p>
<p>Параграф 3</p>
</body>
</html>