+ 2

Aligning Images

I’m a newbie at HTML. I inserted an image on my webpage and I tried to use the ‘align’ attribute to reposition it but it’s not working. Is there a reason why this is so and how can I reposition the image? Thank you

27th Aug 2019, 8:05 PM
Lonny Breaux
Lonny Breaux - avatar
2 Answers
+ 3
Use a Paragraph and insert your image: <p align="center"> <img src="https://url.gif"> </p> The image will be aligned to the center.
27th Aug 2019, 9:47 PM
NightFox
NightFox - avatar
+ 1
thank you very much. đŸ™đŸœ
27th Aug 2019, 9:49 PM
Lonny Breaux
Lonny Breaux - avatar