Page 1 of 1
HTML help
Posted: Tue Jun 27, 2006 4:23 am
by adiseeze
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
Posted: Tue Jun 27, 2006 9:36 am
by Chris Vogel
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
HTML help
Posted: Tue Jun 27, 2006 11:55 am
by Red Squirrel
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
HTML help
Posted: Sun Jan 07, 2007 3:16 am
by truth2befree
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.
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.
Archived topic from Anythingforums, old topic ID:2786, old post ID:53798
HTML help
Posted: Sun Jan 07, 2007 1:16 pm
by Red Squirrel
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
HTML help
Posted: Wed Dec 19, 2007 6:20 pm
by Lamez
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
HTML help
Posted: Wed Dec 19, 2007 10:29 pm
by Chris Vogel
Lamez wrote: I did not read the all of the posts
Why not? There’s only five of them.
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-->
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.)
Welcome, Lamez!
Archived topic from Anythingforums, old topic ID:2786, old post ID:63284
HTML help
Posted: Wed Dec 19, 2007 10:35 pm
by Lamez
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:63287
HTML help
Posted: Thu Dec 20, 2007 12:06 am
by Bookworm
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
Don't apologize. Feel free to hop an any of the boats and start paddling.
Archived topic from Anythingforums, old topic ID:2786, old post ID:63300
HTML help
Posted: Thu Dec 20, 2007 12:23 am
by Lamez
lol I am beginning to like.
but I have no legs so how can I paddle (I really do have legs, or do I?
)
Archived topic from Anythingforums, old topic ID:2786, old post ID:63304