Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    7,783
    Tokens
    89

    Latest Awards:

    Default Displaying an image on a blank page

    Right, so I don't know much about 'coding language' and stuff, so don't be insulting

    So I've got a site, I have a blank page, so how to I put an image there? This may sound stupid lol


  2. #2
    Join Date
    Jan 2009
    Posts
    159
    Tokens
    0

    Default

    Make a file called something like index.html and use whatever editor you want (HTML editor suits best...) then put in this code:
    HTML Code:
    <img src="image.png" alt="your text">
    Last edited by Joshh; 01-04-2009 at 08:01 PM.

  3. #3
    Join Date
    Feb 2009
    Posts
    12
    Tokens
    0

    Default

    Create a new file, call it anything you want. Make sure you it has a .html extensions. eg, example.html
    Upload your image, FTP, Cpanel. Whatever floats your boat.
    Open the example.html file
    and copy this code replacing what's needed.
    Code:
    <img src="Place your image here, make sure you keep the quotation marks" alt="Alittle about the image, not necessary." />
    
    eg.
    <img src="http://www.google.com/intl/en_ALL/images/logo.gif" alt="Google's Logo" />
    Lelouch Vi Britannia

  4. #4
    Join Date
    Jul 2007
    Posts
    7,783
    Tokens
    89

    Latest Awards:

    Default

    Thanks guys, so I wasn't rubbish at HTML at all. I used that code before, but I forgot to make the file a .HTML lool! That's why it didn't work.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •