More on Images in Web Pages: Images are used a lot on web pages. However, be careful not to use too many of them or to use really large images on a web page as it can make the page slow to download. Images can be included with a line of text. For example, you might use:
See Fred for a great deal on an automobile! New, used, and leased Hondas are available. Repair shop is open from 9 am to 7 pm, Monday through Friday.
It also makes sense to provide something in place of your images for users whose browsers don't handle graphics. For example, the blind might use a simple text-based browser such as lynx. If you design an Intranet for a company with blind employees, you may be required to make the Web pages accessible to these employees. (I don't know the details of the law, but the Americans with Disabilities Act may apply.) Here is how you use the ALT attribute to specify an alternative to an image: In a text-only browser, this might appear as: [up arrow] To home page The [up arrow] would be a clickable link. To see how a web page looks in a text-only browser, log into the Linux machine and try lynx. You can start it with a command of the form: lynx URL Fill in the desired URL, of course. Note that small images generally load faster than large ones. If your page takes people 5 minutes to load, they may well give up before ever viewing your page. One good technique is to provide a small image on your main web page, but make it a link to a larger picture of the same thing. Let's use our honda page again:See Fred for a great deal on an automobile! New, used, and leased Hondas are available. Repair shop is open from 9 am to 7 pm, Monday through Friday.
The link is the small honda image. Clicking on it jumps to a new screen that displays the large image. Such an image is called an external image to distinguish it from the inline images that IMG SRC gives. You can also tell users exactly what they will get as in this example:
Office location: Physics 201
Phone extension: 2416
Email address: carlsond@stvincent.edu