How to resize an image or photo with HTML?

Asked By 0 points N/A Posted on -
qa-featured

I want to know how I can resize an image with HTML?

SHARE
Best Answer by canari
Best Answer
Best Answer
Answered By 0 points N/A #96546

How to resize an image or photo with HTML?

qa-featured

I am giving some steps for you, who wish to keep an image in the original size, but just resize the image in HTML code. 

Although this is possible, I recommend you “a html image editor” to help with download times.

It is a easy to use tool, that you can use to resize images quicker. So you can specify the width and height in your IMG SRC HTML tag as shown in the example for controlling the size of the image.

You can maintain the same rate by knowing the image size from “properties”.

Answered By 0 points N/A #96548

How to resize an image or photo with HTML?

qa-featured

Hi Lincon777,

 
You are looking to resize an image in HTML script. You can use a couple of tools to resize, but the best thing is do the scripts yourself.
 
So here is the script to resize an image in HTML code.
 
What you have done here is, you have assigned the width of 200 pixels and height of 85 pixels no matter how large your image is, it will automatically resize the image to the described range.
Answered By 10 points N/A #96550

How to resize an image or photo with HTML?

qa-featured

Hello,

Simply specify the actual size of the image, the height, width & then crop the photo before you put it on the web page and the image must be original characteristics.  Now adjust the height and the width properly in HTML.

The GIF image can be resized in Photoshop and simply make sure the image is converted in the JPG or JPEG format and then the graphic dimension must be equal to the height 50 and width 25. The image should be half the size.  To reduce it, simply change the size of the width and the height.

Type this code:<IMG SRC="yourimage.gif" WIDTH="96" HEIGHT="134">

Login/Register to Answer

Related Questions