| Ways of Handling Images | ||
|---|---|---|
| Method | How it Renders | Sample HTML |
| Displayed
Image aka inline, embedded |
![]() |
|
| Text Link
to Image |
Click the text link to see an African woman. | |
| Icon Link
to Image |
Click the camera icon to see an African woman. |
|
| Thumbnail Link
to Image |
Click thumbnail for a larger image.
|
|
<!-- display an image --> <img src="../image/people/africanwoman.jpg" width="200" height="236" border="0" align="top" alt="African woman" longdesc="describeafricanwoman.txt"> <!-- usually all on one line -->
| Img Tag parameters | |||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Parameter | Notes | ||||||||||||||||||||||||||||||||||||||||||||||||
| <img | starts an inline embedded image, that displays a picture | ||||||||||||||||||||||||||||||||||||||||||||||||
| src="../image/people/africanwoman.jpg" | where to find the jpg, png or gif, possibly an absolute url of the form http://mindprod.com/image/people/africanwoman.jpg | ||||||||||||||||||||||||||||||||||||||||||||||||
| width="200" | width of the image in pixels. You may magnify or shrink, but shrinking wastes bandwidth and magnifying generates poor quality images. If you leave it out it the image will render natural size, but will render more slowly. | ||||||||||||||||||||||||||||||||||||||||||||||||
| height="236" | width of the image in pixels. You may magnify or shrink, but shrinking wastes bandwidth and magnifying generates poor quality images. If you leave it out it the image will render natural size, but will render more slowly. | ||||||||||||||||||||||||||||||||||||||||||||||||
| align="top" | control how the image aligns with the surrounding text. Experiment. You may
be surprised. choices are:
| ||||||||||||||||||||||||||||||||||||||||||||||||
| alt="African Woman" | Labels the image. This is not displayed. Sometimes the alt text becomes a tool tip hoverhelp line. Used by blind people to at least know what pictures contain. You may use &entities in the alt, but not <tags. | ||||||||||||||||||||||||||||||||||||||||||||||||
| longdesc="describeafricanwoman.txt" | Text file containing a detailed description of the image. Primarily used by the visually impaired. | ||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.16] | The information on this page is for non-military use only. | ||
| You are visitor number 11. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/jgloss/htmlimages.html | J:\mindprod\jgloss\htmlimages.html | ||