Problem with <img> | Sololearn: Learn to code for FREE!


Problem with <img>

Hi everyone, I’ve just come across a little problem... When I type <img src=“Pic 1.jpg” align=“center” border=“5px” alt=“” /> i find out that: - there is just the border without the pic inside - the border (so the pic) is not aligned to center, but it’s placed on the left What should I do?

1/20/2018 7:06:33 AM


1 Answer

New Answer

+9 Note: in <img> tag align="center" doesnt take affect.. use <center> tag for center image