I have a structure that looks like this:
<div class="container">
<h1 class="header-div">Title 1</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
<div class="image-div">image1</div>
</div>
<div class="container">
<h1 class="header-div">Title 2</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
<div class="image-div">image2</div>
</div>
<div class="container">
<h1 class="header-div">Title 3</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
<div class="image-div">image3</div>
</div>
I plan to extract h1 and add it directly after .image-div for each block.