I have an inline image in a paragraph. I want to float that image in the middle of the paragraph. I tried to center it with...
<center>
...but I saw it was depreciated in HTML5.
I tried to use float it with...
<img style="float: middle;">
...but it turns out that that doesn't even exist.
Is there a short way to do this, preferably inside the img tag, like with the style attribute?
Here is my HTML so far...
<p>
<img id="resize" width="70%" src="../logo.png" alt="Alt" style="CENTER THIS IMAGE... SOMEHOW...">
</p>