Size Attributes
<img src="URL" alt="some text" title="some text" width="300" height="200" />
width
and height
are in pixels
- If one is provided, the other is adjusted based on the proportion of the original image.
- Example:
- If the original image is 2" by 3", the proportion is 2/3 or 3/2. So, if width is specified as
"200"
, height is automatically computed as "300"
.