+ 2

How can we center align or change alignment of an image?

11th Aug 2020, 7:06 AM
Anushri Salunke
Anushri Salunke - avatar
4 Answers
+ 6
<p align="center"> <img src="......."> </p>
11th Aug 2020, 7:13 AM
Pranav
Pranav - avatar
+ 12
You can use css for it contain image in div and use text-align:center; here is a code click on it https://code.sololearn.com/Wj3TRoJxyCFO/?ref=app
11th Aug 2020, 7:19 AM
ANMOL
ANMOL - avatar
+ 7
Put it inside <div> tag And then use css to adjust its position Hope this help you
11th Aug 2020, 7:18 AM
Harsh
Harsh - avatar
+ 3
See @celvin answer.. https://www.sololearn.com/Discuss/2435379/?ref=app Also .img{ poistion : center; } May also works ..try..
11th Aug 2020, 9:23 AM
Jayakrishna 🇼🇳