how to resize an image taken from web in html? like using attributes,and percentages.
An image with a height and a width of 48 pixels:
<img src="smiley.gif" alt="Smiley face" height="48" width="48"
Always specify both the height and width attributes for images. If height and width are set, the space required for the image is reserved when the page is loaded. However, without these attributes, the browser does not know the size of the image, and cannot reserve the appropriate space to it. The effect will be that the page layout will change during loading (while the images load).