Free Simple HTML Tutorial

From Webmaster-A Webmaster Resources

Adding Images

A picture is worth a thousand words... or so they say. Pictures certainly can make your page layouts look better. Here are some ways of using them that offer interesting design choices! Images can be used as backgrounds for the page itself, divs, and tables as well as being used in a stand-alone sort of way.

Are you human?

7680 + 118 =

Gosh that is starting to look almost professional now I added the copyright footer... try changing the image tags on the page above and check what happens!

The most common reason an image fails to display is that you got the source (src) attribute wrong. Remember filenames are case sensitive even if URL's are not. So http://www.mysite.com/Pic2.jpg is not the same as http://www.mysite.com/pic2.jpg or http://www.mysite.com/pic2.JPG. Relative addressing (used in our example above) can also cause some problems. If the image file is in the same directory as the html file that refers to it then it is fine to use the file name only as we have here. If the images are in a subdirectory (as they often are) called images then they could be referred to by images/eddie.jpg or http://www.webmaster-a.com/images/eddie.jpg which is the full url.

Next: Tables and Page Layout


This site and content © 2006 Malcolm Grandis

Tutorial Contents

Items marked with an asterisk (*) are optional


HTML Tutorial Keyword Density Tool Referrers

bookmark hit - internal hit - ... - www.koreanturk.com - contentnet.info - ... - ... - ... - www.niche.bz - ... - ... - www.vilago21.com - ... - ... - ... - www.dinfrukost.se - ilab.usc.edu - highhyip.com - tuva-online.info - www.rogerstern.com - www.macplora.org - ... - ecashhyip.com - ozinengland.com - denvang.com - baerbykes.com - ... - ... - ... - birthdayquotes.biz - ... - www.google.com - ... - ... - www.uplyrics.net - ... - ... - www.wiibuy.biz - www.weightlost.biz - www.xboxxbox.net - www.hgt435lop345.com - ... - www.google.com.au - www.google.co.uk - www.google.lt -

This list of people who link to this Tutorial page is automagically maintained. Link to us, send traffic, and get listed. Simple.