#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    66
    Rep Power
    3

    I just started this yesterday


    Hello I just started learning html yesterday and I have a question

    Code:
    <html>
    <head>Hello
    <title>Practice</title> 
    <body href_blank="http://www.did-you-kno.tumblr.com"target ="_blank"> 
    <img src = "/post/35856164515/source"> 
    </head>
    </html>

    however when I open this code it does not display the picture instead it displays the little "there is a photo here" symbol can anyone explain how to make it display a photo I am using a Macbook air 2011 running mountain lion 10.8.2 thanks
  2. #2
  3. JavaScript is not spelt java
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2011
    Location
    Landan, England
    Posts
    743
    Rep Power
    165
    Do you have a DOCTYPE declaration?
    The word Hello should not occur within the head tag.
    The body tag should occur after the closing head tag and should have a closing tag.
    Body doesn't have href_blank or target attributes, although this may be something to do with tumblr - I don't know about tumblr. However, there should be a space between attributes anyway.
    Image sources should have a file extension such as .gif or .png - I suspect most browsers will not display an image without an extension.

IMN logo majestic logo threadwatch logo seochat tools logo