Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: inserting photo into html program to post on web  (Read 3457 times)

0 Members and 1 Guest are viewing this topic.

kathi0805

    Topic Starter


    Newbie

    • Experience: Beginner
    • OS: Unknown
    inserting photo into html program to post on web
    « on: February 17, 2012, 02:44:01 PM »
    I am just learning HTML. The project I am working on is to post a picture on the web. My OS is Windows 7. I took a photo and saved it on my jump drive and re-sized the photo to 354px by 266px. The photo has a tag of kitty 1.
    Here is the line:
    <img scr="images.kitty 1.emma.jpg" /> alt:"emma passport" height:"266" width:"354";/>
    Also I want the photo to align right of the heading. I have looked at some site regarding HTML and css but can't get it to validate.
    Help!

    kpac

    • Web moderator
    • Moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: inserting photo into html program to post on web
    « Reply #1 on: February 17, 2012, 04:54:02 PM »
    Code: [Select]
    <img scr="images.kitty 1.emma.jpg" /> alt:"emma passport" height:"266" width:"354";/>
    should be

    Code: [Select]
    <img src="images.kitty 1.emma.jpg" alt="emma passport" height="266" width="354" title="kitty 1" />
    The "title" attribute I think is what you're looking for when you mention a "tag of kitty 1". I'd recommend visiting here (http://www.w3schools.com/html/default.asp) to learn HTML. It's the best place on the Internet in my opinion.