
The Complete Idiot's HTML Tag Reference
| Index
| Previous Tag: <IFRAME>
| Next Tag: <IMG>
|
<ILAYER>
Creates an inline layer, which is a separate object that can contain text, images, or even another page, and which can be positioned precisely on the page, even to the point of overlapping other inline layers.
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
Notes:
- An inline layer follows the flow of the page. That is, the inline layer is positioned where the tag appears. For a floating layer, see the <LAYER> tag.
- The order that inline layers are stacked upon each other is called the z-order.
- This tag requires the </ILAYER> end tag.
Attributes:
- ABOVE
= "Text"
The name of the inline layer that will be positioned directly above the current layer in the z-order.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
- BACKGROUND
= "Text"
A filename or URL for an image upon which the inline layer's text and images will appear.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
Notes:
-
If the image is smaller than the browser window, the browser will display multiple copies of the imagethis is called tilingso that it fills the entire window.
- Make sure the image you choose doesn't obscure your page text.
- BELOW
= "Text"
The name of the inline layer that will be positioned directly below the current layer in the z-order.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
- BGCOLOR
= "Color value"
The color to use for the inline layer background.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
Notes:
-
Use either an RGB value or a color name.
- Try to use a color that's compatible with the color you're using for your page text.
- CLASS
= "Text"
The style sheet class used by the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
Notes:
-
You can specify two or more classes; be sure to separate each class name with a space.
- CLIP
= "Postive integers"
The coordinates of the inline layer's viewable area.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
Notes:
-
Use the following format:
CLIP="left,top,right,bottom"
The various values are positive integers. You can also use only the right and bottom values and the left and top default to 0.
- HEIGHT
= Positive integer
The inline layer's height, in pixels.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
- ID
= "Text"
An alphanumeric string that uniquely identifies the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
Notes:
-
Although you can use letters and numbers for the ID, the first character must be a letter.
- LEFT
= Postive integer
The position of the left side of the inline layer. If the current inline layer is part of another layercalled the parent layerthen the position is relative to the parent layer.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
- NAME
= "Text"
The name of the inline layer.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
Notes:
-
The NAME attribute enables other inline layers to be positioned relative to the current layer in the z-order (see the ABOVE and BELOW attributes).
- PAGEX
= Postive integer
The position of the left side of the inline layer relative to the browser window.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
- PAGEY
= Postive integer
The position of the top of the inline layer relative to the browser window.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
- SRC
= "Text"
The URL of a page that will appear inside the inline layer.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
- STYLE
= "Text"
The style or styles to use with the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
Notes:
-
If you enter multiple style properties, separate each one with a semi-colon (;).
- TOP
= Postive integer
The position of the top of the inline layer. If the current inline layer is part of another layercalled the parent layerthen the position is relative to the parent layer.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
- VISIBILITY
= "Text"
Determines whether the inline layer is visible.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
Notes:
-
Possible values: SHOW, HIDE, INHERIT. (The latter means that the inline layer takes the same VISIBILITY value as its parent layer.)
- WIDTH
= Positive integer
The inline layer's width, in pixels.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
- Z-INDEX
= Postive integer (or 0)
The inline layer's position within the z-order.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
Notes:
-
Inline layers with higher Z-INDEX values are positioned above inline layers with lower Z-INDEX values.
Example:
<ILAYER LEFT=5 TOP=20 Z-INDEX=1><FONT SIZE=5 COLOR="#FF0000">RED</FONT></ILAYER>
<ILAYER LEFT=-20 TOP=10 Z-INDEX=2><FONT SIZE=5 COLOR="#0000FF">BLUE</FONT></ILAYER>
<ILAYER LEFT=-50 TOP=20 Z-INDEX=3><FONT SIZE=5 COLOR="#00FF00">GREEN</FONT></ILAYER>
How It Looks:
- RED
BLUE
GREEN
| Index
| Previous Tag: <IFRAME>
| Next Tag: <IMG>
|
|