- Description
- Tag <IMG> is used to display the image in graphic format GIF, JPEG or PNG on the web page. This tag has the only one optional parameter src, which defines the address of the file with the image.
- The images can be used as map-images, when the image contains active areas, which are used as a link.
-
<img src="URL" alt="" /> - Parametrs
- Align defines the way the frame will be aligned, and the way of its floating with the text
- Alt alternate text to display
- Border width of the image border
- Height height of the image
- Hspace horizontal indent from the image to the content
- Ismap informs the browser that the image is a server map-image
- Lowsrs way to the graphic low-resolution file for preview
- Src way to the graphic file
- Vspace vertical indent from the image to the content
- Width width of image
- Usemap link to the tag <MAP>, which contains coordinates for client map-image.
- Closing Tag
- Is not optional
-
The Description of Tag <IMG> Parameters
- ALIGN Parameter
- Description
- You may indicate image location relative to the text or other images on the web page. The way of image alignment is defined by ALIGN parameter of the tag <IMG>.
-
<img alt="" align="bottom | left | middle | right | top" /> - Arguments
- Bottom bottom alignment according to the text
- Left left alignment of the frame
- Middle middle alignment of the frame according to the base line of the current line
- Right right alignment of the frame
- Top top alignmnent according to the highest element of a current line
- Default value
- Bottom
- ALT Parameter
- Description
- ALT parameter defines alternate text for images. This text allows receiving the text information about the image when the image downloading is disabled in the browser.
- Browser displays the alternate text as a bubble help. In order to see it, indicate mouse cursor to the image.
-
<img alt="text" /> - The value of the colour can be defined in two ways.
- Arguments
- Any text line. It must be put in quotes.
- Default value
- 1
- BORDER Parameter
- Description
- You can place the image, which is located on the web page, into the border of any width. Border parameter of the tag <IMG> is used for this.
-
<img border="border width" alt="" /> - Arguments
- Any positive integer in pixels.
- Default value
- No
- HEIGHT and WIDTH Parameter
- Description
- HEIGHT and WIDTH parameter is used to change the frame size by means of HTML. The values in pixels and percents are allowed to use.
-
<img alt="" height="height" /> <img alt="" width="width" />
- Arguments
- Any positive integer in pixels or percents.
- Default value
- Initial height and width of the image.
- HSPACE and VSPACE Parameter
- Description
- You may define invisible horizontal and vertical indents for any frame by means of hspace and vspace parameter.
-
<img alt="" hspace="horizontal indent" vspace="vertical indent" /> - Arguments
- Any positive integer in pixels or percents.
- Default value
- 0
- ISMAP Parameter
- Description
- ISMAP parameter informs the browser, that the image is a server map-image. It is realized in two variants – server and client. While using the server one browser sends request to the server to receive the address of chosen link and wait for the answer with necessary information. This variant requires the additional time for waiting of the result and separate files to each map-image.
-
<img alt="" /> - Arguments
- No
- Default value
- This parameter is disabled by default.
- SRC Parameter
- Description
- The address of the graphic file, which will be imaged on the web page. The most popular formats are GIF and JPEG.
-
<img src="URL" alt="" /> - Arguments
- Full or relative way to the file is used as a value.
- Default value
- No
- WordPress contact form
- Form maker
- Form processor
- File upload form


