+ 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?

21st Mar 2018, 2:41 PM
Илья Гамзаев
Илья Гамзаев - avatar
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
21st Mar 2018, 2:46 PM
🌛DT🌜
🌛DT🌜 - avatar
+ 1
thanks, man. your variant is working
21st Mar 2018, 2:47 PM
Илья Гамзаев
Илья Гамзаев - avatar