Results 1 to 5 of 5

Thread: img scr Code Not Working

  1. #1
    Join Date
    Aug 2009
    Posts
    14

    img scr Code Not Working

    Hello , i tried to Link a image in my Html page , that i have created yesterday, but the img scr does not seem to be , i have read properly from the my freind book , that to link image we have to used img scr ,

    img scr="path/picture. jpg" , but this Command does not work can you tell me why this happen , please help me thanks in advance

  2. #2
    Join Date
    Apr 2008
    Posts
    2,005

    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">

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    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).

  4. #4
    Join Date
    Apr 2008
    Posts
    1,948

    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">

  5. #5
    Hot-Text Guest

    Re: img scr Code Not Working

    <img dynsrc="a Video URL here" />
    <img src="your Pic URL here" />

Similar Threads

  1. Pass code for F.E.A.R 3 isn’t working?
    By Damodaran-G in forum Video Games
    Replies: 5
    Last Post: 23-06-2011, 08:30 AM
  2. Confirmation code not working on facebook
    By Dannai7 in forum Portable Devices
    Replies: 3
    Last Post: 15-06-2011, 08:29 AM
  3. PHP and HTML code that is not working
    By Macadrian in forum Software Development
    Replies: 4
    Last Post: 02-12-2009, 04:14 PM
  4. Code 19 - USB not working in vista
    By Jasonholt in forum Operating Systems
    Replies: 3
    Last Post: 22-08-2009, 10:05 PM
  5. Ajax code not working in Firefox
    By Mayur_Jain in forum Software Development
    Replies: 4
    Last Post: 02-05-2009, 02:40 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,123,246.81752 seconds with 16 queries