|
|
|---|
<IMG SRC="redball.gif" ALT="*">
<IMG BORDER="1" SRC="redball.gif" ALT="*">
<IMG BORDER="5" SRC="redball.gif" ALT="*">
<FONT COLOR="green"><IMG BORDER="5" SRC="redball.gif" ALT="TOC"></FONT>
<BODY BACKGROUND="bfly4.gif" BGPROPERTIES="fixed">
Result of code: the following link will take you to a test page with the above example code for its body tag.
Doesn't work in Firefox
Place in <head> section: <style type="text/css"> <!-- BODY{ background-repeat : no-repeat; background-attachment : fixed;background-position : right top; } // --> </style>
<BODY BACKGROUND="images/clouds.jpg">
Of course, if you want to use an external style sheet, and want to apply the same style to all pages, including the same background image, place the CSS above into an external style sheet and add the following to the BODYstyles: background-image : url(images/clouds.jpg); -->
Result of code: the following link will take you to a test page with the above example code for its body tag.
<IMG SRC="redball.gif" ALT="*">
<IMG SRC="redball.gif" HEIGHT="32" ALT="*">
<IMG SRC="redball.gif" WIDTH="28" ALT="*">
<IMG SRC="redball.gif" HEIGHT="16" WIDTH="28" ALT="*">
| Example Code | Result of code |
|---|---|
|
<MAP NAME="example"> <AREA SHAPE=RECT COORDS="165,0,320,69" HREF="#TOC"> <AREA SHAPE=CIRCLE COORDS="202,139,71" HREF="index.htm"> <AREA SHAPE=POLY COORDS="42,27,0,123,1,183,4,182,21,208,22,208,52,208,52,208,42,30" HREF="#TOC"> <AREA SHAPE=RECT COORDS="59,0,130,210" HREF="dblimage.htm"> </MAP> <P> <IMG BORDER="0" SRC="flowrs.gif" WIDTH="320" HEIGHT="240" USEMAP="#example"> |
|
| Example Code | Result of example code |
|---|---|
| Preceeding text<IMG SRC="redball.gif" ALT="*" HSPACE="20">following text. | Preceeding text |
Example Code | Result of example code |
| Preceeding text<IMG SRC="redball.gif" ALT="*" HSPACE="40">following text. | Preceeding text |
<A HREF="#TOC"><IMG BORDER="0" SRC="redball.gif" ALT="*"></A>
<A HREF="#TOC"><IMG SRC="redball.gif" ALT="TOC"></A>
<A HREF="#TOC"><IMG BORDER="5" SRC="redball.gif" ALT="TOC"></A>
<A HREF="#TOC"><FONT COLOR="green"><IMG BORDER="5" SRC="redball.gif" ALT="TOC"></FONT></A>
<A HREF="#TOC" onMouseOver="document.roll.src='crit_gd.gif'" onMouseOut="document.roll.src='crit_so.gif'"><IMG BORDER="0" NAME="roll" SRC="crit_so.gif" ALT="*"></A>
![]()
Position cursor over image to initiate rollover
<CENTER>
<IMAGE ALIGN="LEFT" VALIGN="MIDDLE" SRC="redball.gif" ALT="*">
<IMAGE ALIGN="RIGHT" VALIGN="MIDDLE" SRC="redball.gif" ALT="*">
An example of centering text between two images.
</CENTER>
| Example Code | Result of example code |
|---|---|
| First line of text.<BR> <IMG SRC="redball.gif" ALT="*" VSPACE="20"><BR> Second line of text. |
First line of text. Second line of text. |
| Example Code | Result of example code |
| First line of text.<BR> <IMG SRC="redball.gif" ALT="*" VSPACE="40"><BR> Second line of text. |
First line of text. Second line of text. |
| |Title Page| |Basic Template| |
|---|
| |Color| |Dynamic HTML/Layers| |Form Tags| |Frame Tags| |HTML Entities / ISO Characters| |
| |Image Tags| |Link Tags| |List Tags| |Other Spacing / Layout Tags| |Rule Tags| |Sound Tags| |
| |Style Sheets| |Table Tags I| |Table Tags II| |Text Tags| |Bibliography / Resources| |Index| |
© David Merchant 1997-2001.
<