| Properties | Code | Description |
| align | <img src="imagename.jpg" align="right"> | aligns the image to the right or left of the paragraph where it's inserted. Other align options are top, texttop, middle, absmiddle, baseline and absbottom. Not all these values are supported in all browsers. Be sure to check various browsers to see how it's displayed. |
| alt | <img src="imagename.jpg" alt="name or short description"> | This short description will appear in a small pop-up box when the mouse hovers over the image. You may use spaces in this description. Some browsers don't wrap text and don't display long descriptions, so keep it brief. You can describe the picture or the action, if it links to a page, for instance. This is very good for user who have images turned off, or for describing what the image is before it compelets loading. Even if an image is broken, the alt tag will appear. This is essential for text readers to user with visual disabilities. |
| border | <img src="imagename.jpg" border="0"> | The border tag will appear IF the image is also a link. There will be a default border of "1" in the link color around the image. If you do not want the border displayed, set the border to "0". If the image is not a link, the border will appear in the color as the text. |
| width/height | <img src="imagename.jpg" width="230" height="138"> | Benefits of defining size: browser will allow the exact space needed on the page for the image while it loads, so you can see how the page will look, even before the image loads - helps in loading quicker to already have a size defined, so the browser doesn't have to wait on the server to tell it what size the image will be. Note: If you try to resize the image just by defining a smaller size, but not actually using a smaller version of the image, it will still take just as long to load as the larger image. So if using "thumbnails," create a smaller image to use and link to the larger one. To find out the dimensions of an image, (Netscape) right-click on the image, select "View Image." Right-click again and select "View Info." In IE, right-click and select "Properties". |