IMAGES

KEY CONCEPTS:

ATTRIBUTES

RELATIVE REFERENCES

Current Directory: ./statue.jpg

Up One Level: ../statue.jpg

Up Two Levels: ../../statue.jpg

Root Directory /statue.jpg

NEW TAG:

Note: attribute names that are in italics are optional.

This tag will insert an image into the page

<img src="images/statue.jpg" - tells where to find the image

align="left/right/center" - how to align the image to the text
height="#" - the height of the image
width="#" - the width of the image
border="#" - the border around the image
>

EXERCISE: Insert images and text on three pages

  1. Create these three Web pages:
  1. Give each web page a header name
  2. Insert the text from descriptions.html into each of the files
  3. Insert the archaeology.jpg, art.jpg, and music.jpg images into the appropriate files
  4. Adjust the text to wrap to the right of the image.