+ 1

How To align image In html such as middle,left or right side?

I'm try to align image to middle of web page but doesn't work please help.. I'm new.

25th Mar 2020, 11:33 AM
Chetan Atrawalkar
Chetan Atrawalkar - avatar
2 odpowiedzi
25th Mar 2020, 11:38 AM
Gordon
Gordon - avatar
+ 1
hi, you can't directly center <img/>. you must put it in a bloc tag like <p>...<p>, <div>...</div> or <span>...<\span> and give this bloc tag the style=align:center and vertical-align:middle
25th Mar 2020, 1:10 PM
Oneill~Онеилл~奥尼尔~ओनील~اونیل~*‎
Oneill~Онеилл~奥尼尔~ओनील~اونیل~*‎ - avatar