+ 1
HTML
How I can chage the height and width of the image ?
4 ответов
+ 4
Priyanshu Garg add something like this and change the 250px to desired size
<img src="your image url" alt="your image" style="width:250px;height:250px;">
+ 1
You can also use the height and width attributes to scale the image. The default units are px.
<img src=“image path” alt=“text about image” width=“100” height=“100” />
0
In css file:
img {
width : 32px;
height : 30px;
}