Tried using align in case of image but didn't worked out. Any hint or help would be appreciated. Thanks | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Tried using align in case of image but didn't worked out. Any hint or help would be appreciated. Thanks

19th Apr 2019, 11:29 AM
Arun
2 Answers
+ 1
Is it inline?
19th Apr 2019, 2:05 PM
Alexander Velinov
Alexander Velinov - avatar
+ 1
I guess you are new in HTML, so instead of applying align="center" directly to the image add a p element outside of it and make it the child of p and add align="center" in p tag. here is the code https://code.sololearn.com/WyeP6Ig0bOlu/?ref=app
19th Apr 2019, 2:33 PM
Bug Slayer