can anyone help me with this in css of a html? for example:
<style>
main (h4 + p) {background-color: yellow;} <--problem
</style>
<div>
<h4>This is not what i want.</h4>
</div>
<main>
<h2>This is Heading 2.</h2>
<h4>This is Heading 4.</h4>
<p>This is a paragraph</p>
</main>
i only want the h4 and the p highlighted inside the main
i tried to use different of solution: main (h4 + p) main (h4, p) but doesnt work, it selected everything