0

How to align img to center in html without using css ?

18th Sep 2019, 5:45 PM
Rakesh kumar
3 Réponses
+ 3
Just simple <div align="center" <img src="tree.jpg"> Something like this
18th Sep 2019, 6:34 PM
Isaac Duah [Active!]
Isaac Duah [Active!] - avatar
+ 6
<div align="center"> <img src="image_url"> </div> And this question is already asked by many users, so use the search bar situated at the upper-left corner before posting to avoid duplicate questions
18th Sep 2019, 5:58 PM
Farhan
Farhan - avatar
0
The align attribute is not supported in HTML5. Use CSS instead.
22nd Feb 2020, 7:08 AM
Calviղ
Calviղ - avatar