
HTML for ImagesA (Anchor) -- links<A HREF="uo.gif">UO letters</A> IMG (IMaGe) -- embedding images in text<IMG SRC="Frohnmayer56x74.GIF" ALT="Photo of the UO Pres" ALIGN="right" WIDTH=28 HEIGHT=37 BORDER=5 HSPACE=10 VSPACE=10> The President
|
The "Object Editor" for images in Claris Home Page:
|
|
|
|
|
|
SRC="http://www.uoregon.edu/ |
source URL (required) |
|
|
ALT="Photo of the UO Pres" |
alternative text if graphic cannot load |
Photo of the UO Pres |
|
ALIGN="right" |
alignment of graphic with text (bottom, middle, top, left, right) |
|
|
WIDTH=28 HEIGHT=37 |
browser scaling -- number of pixels for browser to display graphic |
|
|
BORDER=5 |
border around graphic -- number of pixels thickness |
|
|
HSPACE=10 VSPACE=10 |
space around graphic -- number of pixels |
|
ALIGN parameter examples:
|
ALIGN= |
Example |
|---|---|
|
TOP |
|
|
MIDDLE |
|
|
BOTTOM |
|
|
LEFT (Netscape |
|
|
RIGHT (Netscape |
|
<BODY BACKGROUND="http://www.uoregon.edu/new/images/bkgd.ot2.jpg">
(example)
hint: small backround images tile to fill the window
|
|
hint: large background images are frequently combined with table cells that have absolute pixel widths, allowing placement of text relative to the background image. [see <http://www.killersites.com/1-design/tables.html>] hint: recent (v4) versions of browsers also allow background as an attribute on individual table cells, e.g. <TD BACKGROUND="greenbar.gif"> |
Change the attributes for an image