How to include Images in your webpageassume here the image is called dog.jpg
When image is in the same directory as the html <IMG SRC = "dog.jpg"> When image is in the subdirectory called pictures <IMG SRC="pictures/dog.jpg"> When image is at another siteUse this option with caution. The site and hence the image will disappear. Also will take longer to load the image<IMG SRC="http://www.ibm.com/pictures/dog.jpg"> Centering an ImageSimply surround the image tag with the center and end center tags as follows:<CENTER><IMG SRC = "dog.jpg"></CENTER> Not Centered- Try It Centered-Try It Text Alignment Next to an ImageUse to allign the text following the image tag next to the image in the web document produced.<IMG ALIGN="type" SRC="image"> where type can equal: See HTML quick reference #3 and the book for other options. Including wrapping the text around the image!!! |
© Lynne Grewe |