0
Why won't this image change to my desired 700x300 pixels?
<img src="https://www.industrialempathy.com/img/remote/ZiClJf-1920w.jpg700x300" border="15"> Trying to get the image to 700x300 pixels, it won't load unless I take out the pixel count
3 Respostas
+ 5
You need to use the width and height attributes in the img tag
<img src="image.jpg" width="700" height="300"/>
I hope this helps :)
+ 1
I don't think so. But never change the source URL. The resulting file hopefully doesn't exist.
0
Thanks it worked is there anyway to write the code "700x300" without writing the height and width?