<img src="......" align="center" /> is not working
alignment of the image is still on the left . when I tried align="right or left" it's working but not working with center
<img> is an inline element. align only works on block level element like div,p etc.
or you can use: <p align="center"> <img src="" /> </p>
In html5, align attribute of img tag is not supported. <center> tag can also have problems. Best way is to use align attribute on a div, p, span or other container and put img inside that. Or use CSS instead.
<div align="center"> <img src="image location"/> </div>
// or else, you can use <center> to make the text or paragraph in center.
To make the image in center, you must make the display inline in block with <img> element.
i had same problem >try this: <center> <img src="......" /> </center>
vashishth bro your method is working Thanks 🙂
thanks guys for the help
$atnam not working bro
What i do wrong ?
Please rearrange int array:
Locked out by Rocket Icon
Помогите с кодом автобуса
Starting learning Python