<html>
<head>
<style>
div p {
background-color: yellow;
}
</style>
</head>
<body>
<div>
<p>Paragraph 1 in the div.</p>
<p>Paragraph 2 in the div.</p>
<section><p>Paragraph 3 in the div.</p></section>
</div>
<p>Paragraph 4. Not in a div.</p>
<p>Paragraph 5. Not in a div.</p>
</body>
<!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_sel_element_element by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:26:56 GMT -->
</html>