Edit This Code:
<!DOCTYPE html>
<html>
<head>
<style>
p:nth-of-type(2) {
    background: #ff0000;
}

</style>
</head>
<body>

<h1>This is a heading</h1>
<p>The first paragraph.</p>
<p>The second paragraph.</p>
<p>The third paragraph.</p>
<p>The fourth paragraph.</p>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy