0

How I can resize my image

30th Mar 2017, 11:32 AM
Hussein Adam
Hussein Adam - avatar
2 Réponses
+ 21
<img src=… width=… height=…>
30th Mar 2017, 11:54 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 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.
30th Mar 2017, 11:58 AM
Paul Kabira
Paul Kabira - avatar
Aujourd'hui en vedette
What?
0 Votes
HTML
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes
Create Agent
0 Votes