0
How to make a image smaller on html
4 Respostas
+ 3
Djamel Haddouche there are atleast three simple ways ....
Both of the following are inline within the img tag
<img src="https://unknown.png" type="png" height="140px" width="160px">
<img src="https://unknown.png" type="png" style="height:140px;width:160px;">
For just one image
Or
By using css
img { height:140px; width:160px; }
Which will make all images the same size
+ 1
Just change height and width
+ 1
use width and height as you need
0
transform: scale(n)
where n > 0 < 1