The first-child pseudo class will only select the first child (element inside of the 'parent' element).

p{
font-weight:500; color:black;
}

p:first-child{
font-weight:900;
}

This is a div, that could be a chapter of a large document. There will follow two paragraphs (done with <p> in the code):

This is the first paragraph, and the idea is that in the whole document all first paragraphs of a chapter would be in bold (for whatever reason).

This is the second paragraph

and I just decided to add a third one ;-)