How to resize an image with HTML

Tip: The steps below are for users who want to keep an image the original size but just re-size the image in HTML code. Although this is possible, we still suggest you resize an image using an image editor to help with download times. When an image is resized using the steps below it still has to load the larger image, even though it appears small in the browser.

Specify the width and height in your IMG SRC HTML tag as shown in the example below.

<img src=""  width="200" height="85" alt="Computer Hope">


How the image appears normally.

Computer Hope

Using the above code to resize the image.

Computer Hope