+ 1
HTML
How I can chage the height and width of the image ?
3 Answers
+ 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;
}