+ 1

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?

20th Jan 2018, 7:06 AM
NicolĂČ
1 Answer
+ 9
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_img_border Note: in <img> tag align="center" doesnt take affect.. use <center> tag for center image
20th Jan 2018, 7:51 AM
Scooby
Scooby - avatar