|
Have you ever seen
something really cool on another page and want to know how they did it?
With Netscape, on the menu bar hit "View" then
"Source" and it will show you all of the coding for the page
your looking at.
Tables
|
text text text
|

|
text text text
|
|

|
text text text
|

|
A Few
Example Codes
You
have a graphic that you really love but it's too small / large for the
space on your page...
You can still use your
graphic, just use the extra size tag at the end to make it fit. Be careful
though, if you don't keep the proportions the same your graphic will end
up looking very strange. For example you start with an image that's too
large and the code looks like this:
<IMG SRC="filename.gif" HEIGHT=50
WIDTH=400>
You should
ALWAYS use the size tags whether you are changing the dimensions of your
picture or not. All browsers load images faster if they have size tags,
and the browser will show the text regardless of whether it has trouble
loading some of the images.
Does
it take your images a long time to load? Help out the viewer with this...
<IMG SRC="filename.gif"
ALT="your text" HEIGHT=25 WIDTH=75>
the ALT=" "
tag at the end will display the text that you put between the quotes inside
the box until your picture loads.
You're
using a graphic with a URL link, and you don't like the little box around
it?
Just set your border to zero like
this
<A HREF=" "> <IMG
SRC="filename.gif" HEIGHT=50 WIDTH=400 BORDER=0> </A>
You
load your page and lots of the images are showing as broken links...
It's most likely one of three things. First,
did you remember to upload the images to your server?
If you did then it's either the file name or the file location. Check your
filenames and make sure that you have the small letters/capital letters
EXACTLY as in your image files. HTML is case sensitive and this
is a common mistake.
<IMG SRC="FILENAME.GIF">
would show as a broken link and
If your file names look ok, then check the
location. Some HTML editing programs are notorious for pointing to
files on your computer's hard drive instead of your server's.
<IMG SRC="file:///C|/subdirectory/filename.gif">
you would be able to see the image from your computer
but to everyone else it would show as a broken link
|