<html>
<head>
<style>
p:first-of-type {
background: red;
}
</style>
</head>
<body>
<p>The first paragraph.</p>
<p>The second paragraph.</p>
<p>The third paragraph.</p>
<p>The fourth paragraph.</p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss3_first-of-type by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:11:40 GMT -->
</html>