HOME
INTRODUCTION
LAYOUT
FORMAT
LINKS
LISTS
TABLES
BACKGROUNDS
IMAGES
NAVIGATION
|
IMAGES
 |
The two most common types of image file formats in use today are Graphics Interchange Format - gif (prounced "giff" or "jiff") and Joint Photographic Experts Group - jpeg (pronounced "jay-peg"). Technically, these two formats are not the same but images can be converted from one to the other with appropriate software. The basic syntax of the image tag is: |
Let's look at the various attributes for the image tag:
= image tag
src = source, file name of image
width = width in pixels
height = height in pixels
alt = alternate description
(see what happens when you float your mouse over it)
Exercise:
- Use your browser to navigate to one of the following collections of pictures and images:
- Use your mouse to point at an image or graphic and click the Right mouse button.
- A menu will pop up. Choose the option to Save Image As.
- A dialog box will appear. Change the drive or directory to where your Webpage is and save the image there e.g.
A: for your floppy disk, or My Documents on the desktop.
- Give the image a file name that you can remember (not necessariliy the default name given). Make sure the extension is three characters e.g.
myimage.jpg or picture.gif
- Click on the OK button to save the image.
- Insert the image into your Webpage.
|
|