![]() |
HTML IMAGES |
<img src="URL">
Like this:
<img src="captsm.gif"> |
|
![]() this image is originally 100 pixels square.
|
The image appears from the url to the flow of the HTML page.
All the pixels are visible.
The shape of the image depends on the ratio of the horizontal pixels
and vertical pixels in the original image.
You can specify either:
width in pixels ( e.g., <img src="captsm.gif" width="200"> )
or
height in pixels ( e.g., <img src="captsm.gif" height="200"> )
and the image will be scaled to produce the desired width or height.
If both attributes are used, they should be scaled to maintain the original aspect ratio.
<img src="captsm.gif" width="50"> |
|
![]() this image is originally 100 pixels square. |
<img src="captsm.gif" width="200"> |
|
![]() this image is originally 100 pixels square. |
<img src="captsm.gif" width="50" height="150" > |
|
![]() this image is originally 100 pixels square. |
<img src="captsm.gif" width="150" height="50" > |
|
![]() this image is originally 100 pixels square. |