The <layer></layer> element creates layered content in a Netscape viewed Web document.
This element is no longer supported by any browser other than older versions of Netscape. It is recommended that you use CSS instead.
- Netscape 3, 4
HTML text. The following tags are valid within the <layer> tag:
a, abbr, acronym, address, applet, b, basefont, bdo, big, blockquote, br, button, center, cite, code, dfn, dir, div, dl, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, hr, i, iframe, img, input, isindex, kbd, label, map, menu, noframes, noscript, object, ol, p, pre, q, s, samp, script, select, small, span, strike, strong, sub, sup, table, textarea, tt, u, ul, var
The <layer> tag is valid within the following tags:
blockquote, body, center, dd, div, fieldset, iframe, li, noframes, noscript, object, td, th
- Standard <layer>
<layer width="150" bgcolor="#3399ff" height="10" left="200">
a standard Netscape layer
</layer>
- This element is not a part of the XHTML or HTML 4.0 specification, and should be avoided if at all possible.
- This tag has been deprecated in Netscape 6+ in favor of CSS.
- If you use this element, be sure to include alternative text within the element to degrade for non-layers compliant browser agents. Even better is to use object detection to display the layer only on layers compliant browsers.
- Name your layers if you want to manipulate them with JavaScript.

