I was under the impression that
<img width="48%" /> (wordpress classic editor will do it this way by default)
is the same as
<img style="width:48%;" />
However, in real-life tests, I'm finding my WordPress theme completely failing with the aforementioned. HTML Style property works, the direct property embed totally gets ignored. So what's going on exactly?
<img style="width:48%;" /> does not work (default)
<img width="48%" /> works
I just want to really understand what the difference is between the two ways of adding attributes.