Make My Own Web Page

Free HTML Code Reference

HTML Graphic


Horizontal Rule (HR) Tag

     The horizontal rule <hr> tag is a line across your web page. It separates one idea from another, and can just make your web page easier to read. The <hr> tag does not use a closing tag.
Syntax

<HR size=xxx width=xxx align=position color="#rrggbb" noshade>
Modifiers
SIZE=number
The size is the thickness of the line.
WIDTH=number
The width is the width of the line in either pixels or the percentage of the screen (ie; 80%).
ALIGN=position
The align modifier controls the location of a line that is shorter than the screen width and can be LEFT, CENTER or RIGHT.
NOSHADE
Takes out any shading or third dimension attributes.
COLOR="color"
Defines the color of the line.


IMG Tag
     The <img> tag gives us graphical capabilities and helps make cool html code. The web allows us to share any graphical image as long as it is a .GIF or a .JPG file. The <img> tag does not use a closing tag. A cute graphic can really enhance your web site.
Syntax

<IMG src="url" width=xxx height=xxx align=position
     border=xx alt="description" hspace=xx vspace=xx
     usemap="url"
>
Modifiers
SRC="URL"
The URL is the location and filename of the image file.
WIDTH=pixels
The actual width of the image in pixels.
HEIGHT=pixels
The actual height of the image in pixels.
ALIGN
The horizontal alignment, with respect to the field it is being place in. Options are LEFT, CENTER or RIGHT.
BORDER=pixels
Builds a frame around the picture the width of the number of pixels. BORDER=0 would put no border around the image.
ALT="Description"
This is the alternate description for people without graphical browsers (the blind). It is also noted by the Search Engines.
HSPACE=pixels
HSPACE is the amount of horizontal spacing between the picture and any surrounding text.
VSPACE=pixels
VSPACE is the amount of vertical spacing between the picture and any surrounding text.
USEMAP="URL of Map"
Points to a MAP defining specific spots on the graphic as different links.
Tips
URL
The URL of the image can be located by a relative address (../pics/image.gif) or by an absolute address (http://...com/pics/line.gif).
WIDTH or HEIGHT
The actual values can be determined by looking at them with a browser. Incorrect values can be used, but distort the picture. If left out, the browser can determine the values, but on a complex page it can take a noticable amount of time.


Make Your Own Web Site HTML Reference


Phone: (208)467-6236
FAX: (208)463-9363
mtg@makemyownwebpage.com
mtg@makemyownwebpage.com
MTG EnterPrizes
511-9th Ave. N.
Nampa, Id 83687-3347

Page Created and
Maintained by
MTG EnterPrizes
All Rights Reserved © 2002-08
www.makemyownwebpage.com/ref/images.htm