0

Aling is not working

26th Oct 2020, 11:56 AM
Rishav Prasad
Rishav Prasad - avatar
3 Answers
+ 5
26th Oct 2020, 12:03 PM
Simba
Simba - avatar
+ 2
I think you want to align. So, in HTML 5 you cannot use align attribute to inline elements for changing their alignment. So use block level element and then use align attribute. e.g. <img src="image.png" align="center"> The above example will not work. Instead use <p align="center"> <img src="image.png"> </p> This will work. Happy coding
26th Oct 2020, 12:04 PM
ツSampriya😘ツ
ツSampriya😘ツ - avatar