View Full Version : How do you post pictures on your html website


Lobster
04-23-2004, 11:17 PM
how do you post pictures on your html website, im a new sorry :)

salomeyasobko
04-23-2004, 11:22 PM
<img src="image.gif">

edit the bold part. make sure you either upload the image to your site and put the file name in the bold part, or insert the URL of the image in the bold part. :)

CevilgeniuS
04-24-2004, 12:28 AM
You know it's on the main site...

<img src="image.gif" /> is the main tag, no closing. The attributes are:

height=x //The image height
width=x //The image width
border=x //The image border
alt="text" //The text that pops up when you hover over the image
title="text" //Same as alt but seems like Mozilla doesn't support alt

That should be all you need.

-Norm

Calidris
04-24-2004, 01:12 AM
alt="text" //The text that pops up when you hover over the image
title="text" //Same as alt but seems like Mozilla doesn't support alt

Mozilla "doesn't support" alt because Alt text is NOT supposed to appear in a tooltip. It is title text which should appear as a tooltip.

Alt text is the text which appears on text-only browsers instead of showing the image. The alt text should also show when the image can't load for any reason (e.g. images disabled on the browser).

Title text can be used on any HTML element to provide a tooltip (in all browsers).