HTML and CSS Reference
In-Depth Information
<!-- Linked layers -->
<layer src="contents.html" left="20" top="20"
height="80%" width="80%">
</layer>
Compatibility
No standards support
Netscape 4, 4.5-4.8
Notes
• The functionality of the layer element is easily replicated using a <div> tag and
the CSS property position:absolute . In older Netscape browsers, using this
more appropriate approach did populate the JavaScript document.layers
collection.
• Because this element is specific to Netscape 4, it should never be used and is
discussed only for readers supporting existing <layer> -filled pages they may come
across. The next edition of this topic will remove this historical footnote.
• Applets, plug-ins, and other embedded media forms, generically called objects , can
be included in a layer; however, they will float to the top of all other layers, even if
their containing layer is obscured.
<legend> (Descriptive Legend)
This element is used to assign a caption to a set of form fields as defined by a fieldset
element.
Standard Syntax
<legend
accesskey="character"
align="bottom | left | right | top" (transitional only)
class="class name(s)"
dir="ltr | rtl"
id="unique alphanumeric identifier"
lang="language code"
style="style information"
title="advisory text">
</legend>
Attributes Introduced by HTML5
accesskey="spaced list of accelerator key(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
draggable="true | false | auto"
hidden="hidden"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
itemscope="itemscope"
Search WWH ::




Custom Search