Images and Graphics
<img src=''picture.gif''>
- Displays the file picture.gif
in your document.
See an example
<img src=''picture.gif'' height=70 width=80>
-
Displays the file picture.gif in your document with the specified width and height.
See an example
<a href=''index.html''><img src=''return.gif''></a>
- Now you can click on the picture called
return.gif to go to the file index.html.
See an example
- Do you
<img src=''picture.gif''> like this GIF?
-
Displays the file picture.gif in your document. The text ``Do you like
this GIF?'' is aligned at the bottom of the left and right edges of the
picture. This is the default alignment.
You can add an optional ``align=bottom'' to
make it explicit.
- Do you
<img src=''picture.gif'' align=top> like this GIF?
-
Displays the file picture.gif in your document. The text ``Do you like
this GIF?'' is aligned at the top of the left and right edges of the picture.
- Do you
<img src=''picture.gif'' align=middle> like this GIF?
-
Displays the file picture.gif in your document. The text ``Do you like
this GIF?'' is aligned in the middle of the left and rights edge of
the picture.
<body background=''rose.gif''>
- This line tiles
the background of your document with the file rose.gif. Be careful
that the color of your new background doesn't make the text unreadable. (Unlike
the following example.) Note that this is an argument in the
<body> tag, so
don't create a new <body> tag.
See an example
<body bgcolor="#000000>
- This line makes your background color black.
See an example
- The latest
<a href=''video.mpeg''>Music Video</a> is finally here!
- This will allow you to click on ``Music Video''
to play an mpeg (an mpeg is a movie clip). I have never personally done
this - I grabbed it from your book.
- Note
- - The images that can be displayed in Netscape were limited
to gif and jpg format as of last semester. Since the upgrade to
Netscape 3.0, more image formats may be supported.