help me in rabi.jpg not shows in result

Discussion in 'HTML & Website Design' started by rabi_nawaz, Jul 27, 2012.

  1. #1
    I type this in notepad


    <html>
    <body>


    <h2>Norwegian Mountain Trip</h2>
    <img border="0" src="/images/rabi.jpg" alt="Pulpit rock" width="304" height="228" />


    </body>
    </html>

    then i save it as rabi.html
    when i open it the result not show the image of rabi.jpg in the browser. Its Why?? help me so.
     
    rabi_nawaz, Jul 27, 2012 IP
  2. mnmani

    mnmani Well-Known Member

    Messages:
    379
    Likes Received:
    11
    Best Answers:
    6
    Trophy Points:
    195
    #2
    if the image is in a sub-folder then change src="/images/rabi.jpg" to src="images/rabi.jpg"
     
    mnmani, Jul 27, 2012 IP
  3. rabi_nawaz

    rabi_nawaz Greenhorn

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    Thank you So Much mnmani. I do this and then the image is showing but i have a question please "what do i do when i get a host for my website. i change all my images coding/location or not" plz tell me i so thanks full to you.
     
    rabi_nawaz, Jul 27, 2012 IP
  4. 3dy.ro

    3dy.ro Member

    Messages:
    100
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #4
    No. As long as you keep the same folder structure, you won't have to change anything.
     
    3dy.ro, Jul 27, 2012 IP