Html Image help.

Discussion in 'Software' started by Spock96, Apr 16, 2012.

  1. Spock96

    Spock96 Major Geek 'Spocky'

    Hey Guys,
    Ok, so I was given this assignment by my HTML instructor to make a web page on my favorite book.(Using raw code and Notepad2) I'm using a 3 book series, and I have this so far:
    It all works except my image tag will not show the picture of the book.
    I have the image saved in the same folder as the html document and everything. It shows my alt tag fine, but what I want it to have all 3 pictures of the books centered under my horizontal rule.
    Like:
    ------------------ (my rule.)
    1 2 3 (books)

    Then continue my page.

    Help you be greatly appreciated, will clarify more if asked. :)
    Thanks,
    Spock96
     
  2. foogoo

    foogoo Major "foogoo" Geek

    if the html file and the picture are in the same directory it should work fine.
    It did for me. Are you sure the file is an image? It is missing the extension.
     
  3. Spock96

    Spock96 Major Geek 'Spocky'

    Yes, it is an image.
    It says .JPEG in properties.
     
  4. Spock96

    Spock96 Major Geek 'Spocky'

    I got a friend that figured it out.
    I didn't put my extension(.jpg) on it.
    Oops.:-D:-o
     
  5. foogoo

    foogoo Major "foogoo" Geek

    Yeah a friend named Foogoo.:-D
     
  6. Spock96

    Spock96 Major Geek 'Spocky'

    Ok, that Idea won't work without the use of manipulating a table, which is like Chapter 6 in our book ( we are just starting chapter 3)
    Would it be the same table perspective if I tried to do something like:
    Picture one(with text (Left Justified)

    (Text) Picture two(Right Justified)

    Picture three (with text(Left Justified)

    Basically what I want to do is list the books and a little description of each.
     
  7. Spock96

    Spock96 Major Geek 'Spocky'

    EDIT---
    Ok, that Idea won't work without the use of manipulating a table, which is like Chapter 6 in our book ( we are just starting chapter 3)
    Would it be the same table perspective if I tried to do something like:
    Picture one--(Text about it)...............

    Picture two--(Text about it)..............

    Picture three--(Text about it)............

    Basically what I want to do is list the books and a little description of each.
     
  8. PC-XT

    PC-XT Master Sergeant

    For each image, I would use something like
    PHP:
    <br clear="all" style="clear:all" />
    <
    img src="..." align="left" style="float:left" />
    Text about the image.
    Of course, the style attributes are all you need. (Or, you could use stylesheets.) Clear and align attributes are only needed if you want to support old browsers.
     
  9. Spock96

    Spock96 Major Geek 'Spocky'

    Thank you.
    I ended up just finding a picture of all three books together and used it.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds