0

why can't I use align="center" in <img ...>?

13th Oct 2018, 6:02 AM
Brandon Pillay
Brandon Pillay - avatar
1 Answer
+ 1
Because <img> is an inline element...you can't align it by just writting align="center" This thing will not work for any inline element as well...So use alternative way to align them.
13th Oct 2018, 10:45 AM
Ahanaf Tahmid
Ahanaf Tahmid - avatar