Resizing images

How can students resize an image that they have added to their personal website?

2 Likes

Use the width and height attribute on the img element. Here is an example
<img src="imagefilename.png" width=50% height =50% />
or
<img src="imagefilename.png" width= 45px height=45px />

To maintain aspect ratio ensure that the width and height are being modified proportionately.

5 Likes