My HTML structure consists of repeating pairs of img and p tags. Often, the img tag is missing from the sequence.
<img>
<p></p>
<img>
<p></p>
<img>
<p></p>
<p></p>
<p></p>
<img>
<p></p>
I want to target all p tags that do not immediately follow an img tag.
Currently, I know how to select p tags that are preceded by img:
img + p {}
How can I achieve the opposite? How can I select p tags that do not come after img in the HTML structure?