I used a css selector to select the first child element.but it cant select the p tag's first element. here is the CSS code and the HTML code
article:first-child {
color: white;
}
article :first-child {
color: blue;
}
<body>
<h1>Jane Doe</h1>
<div class="job-title">Web Developer</div>
<p>Far far ge ocean.</p>
<p>1
<article>2</article>3</p>
<p>A small rio your mouth. </p>
<article>
<p>1</p>
</article>
<article>
<p>1</p>
</article>
<article>
<p>1</p>
</article>
</body>
The serial number “1” become blue but the number 2 between 1 and 3 didn't has any change. It makes me confused.
` element. [See here](https://stackoverflow.com/a/9852381/14776809) for a list of HTML elements you can place inside a `
` element