Embedding images in an object, true (that's right) do it now?

Completed his crutch to webp, to the lack of support the browser the format of the loaded image, e.g., jpeg.

And then, accidentally stumbled on the "opportunity" to embed images in this way:
<object data="image.webp" type="image/webp">
 <object data="image.jpg" type="image/jpeg"></object>
</object>

Of course, the question was not about WebP, but for my case method is ideal. Checked support in IE8 - everything is in order...
But here's the thing: is it right, to do so? As a good practice, and whether at the moment this alternatives?
July 2nd 19 at 17:21
1 answer
July 2nd 19 at 17:23
Solution
it works - so right

Find more questions by tags ImagesWeb DevelopmentHTML