Images on a Web Page

Images for a web page must be saved in one of the following formats: .jpg .gif .png

<img src =”MyPic.jpg” align=left> Places an image on the left side of a page.
<img src = "MyPic.jpg" alt ="A snapshot of my dog."> Adds a message when the mouse moves over the graphic.
<img src =”MyPic.jpg” width=100 height=150> width and height expressed as pixels
<img src =”MyPic.jpg” hspace=8>  Horizontal space between the picture and the next element on the page
<img src =”MyPic.jpg” vspace=10> Vertical space between the picture and element below the image
<img src =”MyPic.jpg” border=0> Width of the border surrounding the picture. 

Back to Using Graphic

 

These pages were developed through TeacherTECH, a teacher-training program sponsored by Boston University's Computer Science Department and Center for Computational Science, in collaboration with TechBoston of Boston Public Schools.
Copyright ©  Judy Woods, TeacherTECH, July 2001