Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
How I can resize my image
2 Respostas
+ 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.