+ 1
Guys, plz, tell me why my code isn't work
hey, write me plz why when I write atribute "align" in html for the image, but it isn't work?
2 Answers
+ 19
align attribute doesn't work for <img> tag in HTML5
Try this :-
put img tag inside p tag....
<p align="center" >
<img src="image.jpeg" />
</p>
OR
<center> <img /></center>
can also be used
+ 1
thanks, man. your variant is working