LEGEND Element | LEGEND Object

DHTML, HTML, & CSS

LEGEND Element | LEGEND Object


Inserts a caption into the box drawn by the FIELDSET object.

HTML Syntax

<LEGEND
    ALIGN=BOTTOM | CENTER | LEFT | RIGHT | TOP
    CLASS=classname
    ID=value
    LANG=language
    LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT  | VBS
    STYLE=css1-properties 
    TITLE=text
    event = script
>

Remarks

This element must be the first element in FIELDSET.

The LEGEND element is a block element and requires a closing tag.

This element is available in HTML and script as of Microsoft® Internet Explorer 4.0.

Members

Styles


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.