Re: img scr Code Not Working
it is not scr , it is src
<img> Tag has many attributes, the most important being of course src that can specify the full URL (path) File:
<img src="path of file">
Re: img scr Code Not Working
The HTML and XHTML IMG tag can put an image in the html document.
<IMG>
Example:
<img src="../images/1.gif" width="50" height="50">
Three image formats can be placed on the Internet:
- GIF format, it is used for images containing few colors. Indeed the number of colors in the gif is 256 with a transparent color.
- JPG format, it is used for images with lots of color, a photo example. Jpg must be in RGB.
- PNG, GIF competitor may have more colors than GIF. However, it remains little used. Attention all browsers do not recognize (management transparency PNG 24).
Re: img scr Code Not Working
The IMG tag is used to insert an image into the html document . The most common extensions used are .Bmp,.Gif and .Jpg. It is possible to associate a text as a tooltip to describe the overview of the cursor. The image size is also customizable and is in proportion if one dimension is specified.
Its specific attributes are:
- Alt: Image description
- Border: Determines the border of the image.
- Height / width: Set the dimensions of the image, useful to format the page while loading images.
- Ismap: If this attribute is blank, the image is used in a MAP tag as clickable map.
- Hspace / vspace: Determines the horizontal and vertical spaces to be used to adjust the image placement.
- Longdesc: Link to a file describing the image
- Src: Image source, absolute path (http:// ...) or relative.
- Usemap: Reference to a tag using the MAP image as clickable map.
Example:
Displaying the image in IE
<img src="http://forums.techarena.in/Images/ICO_HTML.gif">
<img src="http://forums.techarena.in/Images/ICO_HTML.gif" width="60">
<img src="http://forums.techarena.in/Images/ICO_HTML.gif" width="80">
Re: img scr Code Not Working
<img dynsrc="a Video URL here" />
<img src="your Pic URL here" />