|
To add an image to a Web document, you need to point to where that image is
located. In this section you’ll add an image that’s located on your hard disk in
your Zoology_Web folder (pbear.jpg).
- Click below your list and press Enter.
- From the Insert menu, choose Image. A Select Image Source dialog
box appears.
- Using the dialog box, locate and select the image Pbear.jpg in the
Zoology_Web folder on your hard disk. The image appears on your web page.
- Preview your work in Internet Explorer.
- Switch back to Dreamweaver and view the HTML Source code for images.

The image tag looks like this:
<img src="Pbear.jpg" width="266" height="151">
The tag tells the browser the image’s name (Pbear.jpg), location (in the same
directory as the page that displays it, index.htm), and size (266 pixels wide by
151 pixels tall). (A pixel is one dot on the computer screen.
Tutorial Source
|