Attributes | Description |
---|---|
vspace | Specifies the amount of space to the top and bottom of the image. |
hspace | Specifies the amount of space to the left and right of the image. |
alt | Specifies alternate text for an image when image is not found. |
src | Indicate the source file. |
border | Specifies the thickness of border. |
width and height | Specifies width and height of the image. |
align | Use to set horizontal alignment of the image. (left, right) |
valign | Used to set vertical alignment of the image. (top, bottom) |
<!DOCTYPE html>
<html>
<head>
<title>HTML Image Example</title>
</head>
<body>
<img src="http://www.careerride.com/images/new/logo.png" width="200" height="22" alt="CareerRide Info" align="right">
</body>
</html>