Interactive Learning and Design

Introduction

Syllabus

Tutorials

Resources

Site Index



HTML: Adding images

There are two file types that are the de facto standard for images files on the Web - gifs and jpegs. Their file names end with .gif and .jpg. Gifs are usually used for images that have flat areas of color and jpegs for photographs and similar images. Other file types like png and the new vector formats may soon be gaining wider acceptance, but for now gifs and jpegs are the most widely used.

This is the markup to link to one image, a gif:

<IMG SRC="first.gif">

Which in the page would look like this:

And this for another, a jpeg:

<IMG SRC="leaf.jpg">

Which appears like this:

See the Photoshop, Illustrator and Scanner tutorials about working with images.

Next: Using tables

 

 



Jerrold Maddox jxm22@psu.edu