<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
p:nth-of-type(3){
color: red;
}
</style>
</head>
<body>
<h1>CSS :nth-of-type() Selector</h1>
<p>This is 1st paragraph child of its parent (body).</p>
<div>
This is div
</div>
<p>This is 2nd paragraph child of its parent (body).</p>
<p>This is 3rd paragraph child of its parent (body).</p>
</body>
</html>