HELP! * GREY=local LOCAL HTML version of Foils prepared 6 June 1996

Foil 17 Inlined Images: Performance

From Introduction to HTML ECS400 Senior Undergraduate Course -- Spring Semester 1996. by Nancy J. McCracken * See also color IMAGE

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 Feb 18 1997