0
How I can resize my image
2 ответов
+ 21
<img src=… width=… height=…>
+ 1
You can resize a <img> element by using CSS properties "height" & "width".
Here is an example of inline CSS :
<img src="myimage.jpg" style="height:100px;width:200px;">
If you want to keep the aspect ratio of the image, I suggest you search "max-width","max-height","min-width","min-height" CSS properties.