0
Where can i put the (align="center") so that only the image will be centered excluding the text?
So my problem is that i don't know where do to put the (align="center") so that only the image gets centered excluding the text cause the usual way i do it is this: <p align="center> random text <img src="random.jpg" alt=" "> The result is that all of them are centered including the text but i just want the img to be in the center. Anybody know where do i properly put it? PS: Sorry if my english is broken
5 Respostas
+ 4
The image doesn't appear to want to load on mobile, so use the complete URL.
<p>Test<img src = "http://www.sololearn.com/images/tree.jpg" align = "center"></p>
+ 3
<p>Test<img src = "images/tree.jpg" align = "center"></p>
+ 3
Hatsy Rei
I posted the same answer, then I went and checked it in playground.
it doesn't worked and I deleted my answer.
have you checked it?
0
Thanks for the Answer!
0
I checked it just now but it didn't