Unit 2 Summary |
Tag | Attribute | Function |
<IMG> | | Inserts an inline image into the document. |
| SRC="..." | The address of the image. |
| ALIGN="..." | Determines the alignment of the given image. |
| VSPACE="..." | The space between the image and the text above or below it. |
| HSPACE="..." | The space between the image and the text to its left or right. |
| WIDTH="..." | The width, in pixels, of the image. If WIDTH is not the actual width, the image is scaled to fit. |
| HEIGHT="..." | The height, in pixels, of the image. If HEIGHT is not the actual height, the image is scaled to fit. |
| BORDER="..." | Draws a border of the specified value in pixels to be drawn around the image. In case the images are also links, BORDER changes the size of the default link border. |
<BR> | | A line break. |
| CLEAR="..." | Causes the text to stop flowing around any images. Possible values are RIGHT, LEFT, ALL. |
<HR> | | A horizontal rule line. |
| SIZE="..." | The thickness of the rule, in pixels. |
| WIDTH="..." | The width of the rule, in pixels or as a percentage of the document width. |
| ALIGN="..." | How the rule line will be aligned on the page. Possible values are LEFT, RIGHT, and CENTER. |
| COLOR="..." | Color of the horizontal rule (Microsoft Internet Explorer only). |