0

Why I run this code but image is not in the center

<img align="center" src="http://www.sololearn.com/images/tree.jpg" height="150px" width="150px" border="1px" alt="" />

28th Sep 2019, 10:31 AM
MOEY POTAIL
MOEY POTAIL - avatar
3 Answers
+ 1
Just wrap the image inside a <div> and set it align attribute to center. This not work with img tag!
28th Sep 2019, 10:36 AM
Thống Nguyễn
Thống Nguyễn - avatar
+ 1
Thank you for the answer
1st Oct 2019, 11:32 AM
MOEY POTAIL
MOEY POTAIL - avatar
0
Please to help you!
2nd Oct 2019, 2:08 AM
Thống Nguyễn
Thống Nguyễn - avatar