Thanks all for your responses. However, I haven't found any good answer to my question. So let me be more clear.
PURPOSE
As I'm working on SEO, I need to include images as html elements and mimic all the css attributes.
What I currently have
I added images within the css in order to expand/stretch and always center them in the middle of a div.
.page-electricite-generale .one {
background: url('assets/images/elec/XXXX.jpg') 50% 50% no-repeat;
background-size: cover;
}
As you can see, the center of the image is always centered, without any crop/distortion inside the div.
What I need
I want to integrate images as html element and mimic the previous jsfidle.
Here is the jsfidle with an html image
Thanks