| Education Queensland | EQ home | EQ search | EQ site map |
![]() |
| Online learning | Communication | Communities | Curriculum Exchange |
|
|
ImagesAt some point you will want to put images on your webpage. Images should be used to:
GIF and JPEG are two of the more commonly used image formats on the web. To ensure that your images will be seen by your audience save your images as either a GIF or JPEG. Also using GIFs or JPEGs will ensure that your images are compressed to a small file size.
Note: A third format, PNG (Portable Network Graphic), has emerged over the last few years but cannot be seen by many browsers so is not widely used. PNG is a versatile web graphic format. It is best suited for creating complex live transparency, high-colour graphics or better-compressed low colour graphics. GIF, JPEG and PNG are platform-independent i.e. they can be viewed on PC, Mac and Unix computers. GIF (Graphic Interchange format)A GIF is a compressed graphic file format supported in HTML. This file format is mostly used for graphics, illustrations and diagrams where simple line work and flat areas of uniform colour are characteristic of the graphic. It was designed to produce a quality image in as small a file size as possible. GIF images use a limited number of colours – they are based on the 216 web-safe colour palette.
JPEG / JPG (Joint Photographic Experts Group)A JPEG is a highly compressed format designed for use with photographic images. It uses a more complex compression algorithm than is used for the GIF format. JPEG is an extremely good format for the compression of natural looking images into a very small size. Photographs are best saved as JPEGs because they have complex patterns, subtle changes in colour and need a larger range of colours than is available in the GIF 216 web-safe colour palette. Legal issues:
When including images there are legal issues. Image tagTo include an image in your webpage type the following HTML tag (assuming your image is of an area of wetlands and its file name is wetlands.gif). The 'alt' is used to give a short caption or description of the image.
Remember that images you use on your webpage must be either a 'GIF' or a 'JPG'. If you have an image and it is not in one of these formats then it will have to be converted. There are many programs that can help you with this. An example would be Microsoft's Photo Editor, which comes with all PCs. Blackboard® note:
If you add images to Blackboard using the images tag in either the smart text or HTML option you will be prompted to upload the image. Accessibility:
When adding an image to your webpage, add an 'alt' attribute to your image tag. The purpose of an alt attribute is to provide a meaningful text description of the image. This is useful for people who cannot see your image. To do this: Positioning images
You can add space around your image to help with layout by using 'hspace' and 'vspace'. And if you would like a border around the image use the 'border' attribute.
Experiment with these image tag attributes to see what you can create. Notes:
|
Search
Logon to
Join
Contact us
What's on?
|
Copyright |
Disclaimer |
Acceptable use |
Privacy |
Internet linking |
Access keys |
Other languages
© The State of Queensland (Department of Education and Training) 2009.