insterting a graphic

liunx

Guest
Hi all,<br />
<br />
I've been searching like crazy but can't find any help on this subject. <br />
<br />
I would like to place a graphic image in the main page of my site but I can't find the code that I need to do this. <br />
<br />
Thanks for any help you can give.<br />
Chad<!--content--><img src=http://www.htmlforums.com/archive/index.php/"image.gif"><br />
<br />
just like that.<!--content-->Hey, thanks for the help! That looks pretty easy.<!--content-->I use a minimum of:<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/"image.gif" alt="some text about the image"><br />
<br />
The alt attribute has text which the browser displays in place of the image: before the image loads, if the image fails to load, or if images are turned off in the browser. The alt attribute is also used by non-visual browsers used by certain disabled people.<br />
<br />
The alt text is spidered and indexed by search engines, as this is a good way for them to find out what the site is about. Always use alt text on important images, and especially on all site navigation buttons.<br />
<br />
For images used only as bullet points you should use alt="*" or for those used as spacers you should use just alt="" instead.<br />
<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/"image.gif" alt="some text about the image" height="100" width="100" border="0"><br />
<br />
You can also control the pixel height and width of the displayed image, as well as define the thickness of the border drawn around it, with "0" being no border drawn.<br />
<br />
Always optimise the byte-size of your images for resolution against load time, as well as choosing carefully whether you use .gif or jpg or .png formats. Always name your image files entirely using lower-case lettering.<!--content-->
 
Back
Top