|
Adding Images
Adding Images makes your Web pages standout and unique.
Many images can be added to your site, restricted only to the amount of time it
takes for your page to load.
To add an images use the <img>
"beginning" tag, you do not need to add </img>
"ending" tag.
If you have a image called "Flower.jpg" and it is in the
same folder as your HTML file you created and lets
say you want to restrict that image to 155 pixels
" wide" by 155 pixels "high".
Example of Adding Images Code.
<img src="Flower.jpg" width="155"
height="155">

_____________________________________________________________________________________
Note: The "img"
attribute designates it as a Image and the "src" attribute names the image file. The width and height
is not required but helps to restrict the viewing size which can help in load
time.
For browsers without the ability to see images you can add a description
for the images if its not viewable.
Example of Adding Images Code.
<img src="Flower.jpg" width="155"
height="155" alt="EyeTweaks Flower">
The "alt" attribute is typically used as a short
description.
_____________________________________________________________________________________
You may also give a
longer description.
Assuming this long Description has been written to a file called "Flower.html",
you can add one as follows using the "longdesc" attribute:
Example of Adding Images Code.
<img src="Flower.jpg" width="155"
height="155" alt="EyeTweaks Flowers" longdesc="Flower.html">
Images can be created in any number of ways, Digital Camera, scanning, paint
programs, "like Flash, Adobe, Corel, paint, etc.
Most typical browsers accept the GIF, JPG image formats, newer browsers will
allow for the PNG image format.
You should avoid creating and using oversized or large image. This will
slow down the transfer of the image from your site to your visitor as well as
take up more space on your site.
___________________________________________________________________________________________________
|