I haven't been using HTML for that long.
When I try to put a picture into something on a site, it shows up as a broken picture thing (i don't know what its called).
Can I only put in .gif? How am I supposed to get the picture from my computer, so it will show up on the site? The pictures I'm trying to put in are .jpg
Thanks
EDIT: Oh yeah, its not a background image. If that helps...
Archived topic from Anythingforums, old topic ID:2786, old post ID:48416
HTML help
-
- Posts: 5140
- Joined: Fri Jan 10, 2003 1:14 am
HTML help
You probably have the HTML right if you’re seeing that broken thing. (I really don’t know what it’s called either.) However, you may want to look at the <img> section of the HTML 4.01 recommendation just to make sure.
The problem is more likely that you don’t have the correct address in the src attribute. If your page is on the Internet, your image should be on the Internet too. Make sure you aren’t linking to your hard drive. (An indication of this might be an address starting with “C:” or “file:///”.) How to upload the image really depends on your Web host, who should have documentation. I would guess you just upload images like you do HTML files.
If it’s already on the Internet, do you mind sharing the little snippet of code that deals with the image?
Oh, and it really doesn’t matter if the image is a JPEG or GIF. The W3C doesn’t say what formats you can or can’t use. It’s just a matter of what the browsers support. Browsers don’t limit you to GIF, or else I would have jumped off a high building a long time ago. You can safely use JPEG, GIF, and some PNGs. Just remember that not all people, such as the blind, will be able to see your image. Provide a meaningful text alternative with the alt attribute.
Archived topic from Anythingforums, old topic ID:2786, old post ID:48417
The problem is more likely that you don’t have the correct address in the src attribute. If your page is on the Internet, your image should be on the Internet too. Make sure you aren’t linking to your hard drive. (An indication of this might be an address starting with “C:” or “file:///”.) How to upload the image really depends on your Web host, who should have documentation. I would guess you just upload images like you do HTML files.
If it’s already on the Internet, do you mind sharing the little snippet of code that deals with the image?
Oh, and it really doesn’t matter if the image is a JPEG or GIF. The W3C doesn’t say what formats you can or can’t use. It’s just a matter of what the browsers support. Browsers don’t limit you to GIF, or else I would have jumped off a high building a long time ago. You can safely use JPEG, GIF, and some PNGs. Just remember that not all people, such as the blind, will be able to see your image. Provide a meaningful text alternative with the alt attribute.
Archived topic from Anythingforums, old topic ID:2786, old post ID:48417
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
HTML help
Make sure you use <img src... and not <img scr... Can easily be misstyped and hard to notice right away, I've fell victim to that a few times, and it will show up as as broken picture.
you could actually use bmp and many other formats but the prefered formats are gif jpg and png for their smallsize/quality ratios. Unfortunately IE lacks png support which is why gif is still use over png, but png is better in my opinion since its not l imited to 256 colors like gif, and can be semi transperant which can do cool effects.
Archived topic from Anythingforums, old topic ID:2786, old post ID:48418
you could actually use bmp and many other formats but the prefered formats are gif jpg and png for their smallsize/quality ratios. Unfortunately IE lacks png support which is why gif is still use over png, but png is better in my opinion since its not l imited to 256 colors like gif, and can be semi transperant which can do cool effects.
Archived topic from Anythingforums, old topic ID:2786, old post ID:48418
Honk if you love Jesus, text if you want to meet Him!
- truth2befree
- Posts: 4
- Joined: Sun Jan 07, 2007 2:50 am
HTML help
Do you have an idea in getting access with codes in actual website,how we extract that code if we need to see there emails if that email is not or safe mode.do you have any idea on that.Red Squirrel wrote: Make sure you use <img src... and not <img scr... Can easily be misstyped and hard to notice right away, I've fell victim to that a few times, and it will show up as as broken picture.
you could actually use bmp and many other formats but the prefered formats are gif jpg and png for their smallsize/quality ratios. Unfortunately IE lacks png support which is why gif is still use over png, but png is better in my opinion since its not l imited to 256 colors like gif, and can be semi transperant which can do cool effects.
Archived topic from Anythingforums, old topic ID:2786, old post ID:53798
**ONLY LOSERS PAY FOR LEADS** Discover how average people with no marketing backgrounds are getting prospects to pay them....NEVER PAY FOR TRAFFIC AGAIN!!! http://www.payitforward4profits.com/truth2befree
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
HTML help
For emails it depends on your email client. I can never figure out how to do it in Outlook, but in Thunderbird there's an option to view source. In terms of security it's not a bad idea to do this to check if they sneaked anything in the code like a false link, or what not. But for any spammish email simply don't click the links to avoid possible dangers.
Archived topic from Anythingforums, old topic ID:2786, old post ID:53805
Archived topic from Anythingforums, old topic ID:2786, old post ID:53805
Honk if you love Jesus, text if you want to meet Him!
HTML help
I know HTML! I did not read the all of the posts, but here is how:
<img src="LINK TO IMAGE" alt="somthing about pic" border="0" />
if you are doing this on a web server or somewhere else, then you need to know these things
make sure you have the picture in the right path that you designated in the src""
for example say you have this:
<img src="img/img.gif" alt="Crazy Image" border="0" />
make sure you put the image in the "img" folder!
also make sure you do not have this:
file:///
or C:\n
hoped I helped and was not late!
I am new here
Archived topic from Anythingforums, old topic ID:2786, old post ID:63261
<img src="LINK TO IMAGE" alt="somthing about pic" border="0" />
if you are doing this on a web server or somewhere else, then you need to know these things
make sure you have the picture in the right path that you designated in the src""
for example say you have this:
<img src="img/img.gif" alt="Crazy Image" border="0" />
make sure you put the image in the "img" folder!
also make sure you do not have this:
file:///
or C:\n
hoped I helped and was not late!
I am new here
Archived topic from Anythingforums, old topic ID:2786, old post ID:63261
-
- Posts: 5140
- Joined: Fri Jan 10, 2003 1:14 am
HTML help
Why not? There’s only five of them.Lamez wrote: I did not read the all of the posts
I doubt adiseeze is still around, but the border attribute is deprecated in HTML 4.01 Transitional and XHTML 1.0 Transitional, and it’s not allowed at all in HTML 4.01 Strict, XHTML 1.0 Strict, and XHTML 1.1. Use CSS instead. Also, if you’re coding in HTML, remember to remove the “ /”. Also, please, please, please make sure the alt text is useful. (A Google search will give you more than you ever wanted to know about that.)Lamez wrote: <!--html--><div class='htmltop'>HTML</div><div class='htmlmain'><!--html1--><img src ="LINK TO IMAGE " alt="somthing about pic " border="0 " /><!--html2--></div><!--html3-->
Welcome, Lamez!
Archived topic from Anythingforums, old topic ID:2786, old post ID:63284
HTML help
Don't apologize. Feel free to hop an any of the boats and start paddling.Lamez wrote: Thanks, if you read my noobie post, I know some of HTML, so I decided to hop on this boat and help sorry
Archived topic from Anythingforums, old topic ID:2786, old post ID:63300
Visit Harmony forum