Basic HTML version of Foils prepared 11 May 1997

Foil 18 Inlined Images: Performance

From Introduction to HTML--ECS400 fall 97 ECS400 Senior Undergraduate Course -- Spring Semester 97. by Nancy J. McCracken *

More attributes of the IMG tag specify the width and height of the image in pixels.
<img src="rugbanner.gif" width=150 height=50>
Typically, images are quite large and take longer to download than text files. If the browser knows the width and height of the image, it can leave space for the image and go ahead and format the remaining text. The image can be downloaded afterward. This means that the viewer can go ahead and start reading text after the image while waiting for it to download.
If the width and height specified do not match the actual image, the image is automatically scaled to fit.
Interlaced gifs are another technique for downloading images in strips.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Aug 26 1997