BODY
Objects Reference

BODY

Description

Specifies the beginning and end of the document body.

Remarks

You can access the BODY element by using the body property on the document object.

Event handlers set using the onblur, onfocus, onload, or onunload property handle these events for the window object. These properties are of the window object but are hosted on the BODY element, since there is no "window" element available.

This element is a block element.

Properties

accessKey, aLink, background, bgColor, bgProperties, bottomMargin, className, clientHeight, clientLeft, clientTop, clientWidth, document, filter, id, innerHTML, innerText, isTextEdit, lang, language, leftMargin, link, noWrap, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, recordNumber, rightMargin, scroll, scrollHeight, scrollLeft, scrollTop, scrollWidth, sourceIndex, style, tabIndex, tagName, text, title, topMargin vLink

Methods

click, contains, createTextRange, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, setAttribute

Collections

all, children, filters

Events

onafterupdate, onbeforeunload, onbeforeupdate, onchange, onclick, ondataavailable, ondatasetchanged, ondatasetcomplete, ondblclick, ondragstart, onerrorupdate, onfilterchange, onhelp, onkeydown, onkeypress, onkeyup, onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onrowenter, onrowexit, onscroll, onselectstart, onunload

HTML Element

BODY


BR

Description

Inserts a line break.

Properties

className, clear, document, id, isTextEdit, language, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, sourceIndex, style, tagName, title

Methods

contains, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, setAttribute

Collections

all, children, filters

HTML Element

BR


BUTTON

Description

Specifies a container for rich HTML that is rendered as a button.

Properties

accessKey, className, dataFld, dataFormatAs, dataSrc, disabled, document, form, id, innerHTML, innerText, isTextEdit, lang, language, name, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, sourceIndex, status, style, tagName, title, type, value

Methods

blur, click, createTextRange, contains, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, setAttribute

Collections

all, children, filters

Events

onafterupdate, onbeforeupdate, onblur, onclick, ondblclick, ondragstart, onfilterchange, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onrowenter, onrowexit, onselectstart

HTML Element

BUTTON


CAPTION

Description

Specifies a caption for a TABLE.

Remarks

This element is a block element.

Properties

align, className, clientHeight, clientLeft, clientTop, clientWidth, document, id, innerText, isTextEdit, lang, language, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerText, parentElement, parentTextEdit, sourceIndex, style, tagName, title, vAlign

Methods

blur, click, contains, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, setAttribute

Collections

all, children, filters

Events

onafterupdate, onbeforeupdate, onblur, onchange, onclick, ondblclick, ondragstart, onfilterchange, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onrowenter, onrowexit, onscroll, onselect, onselectstart

HTML Element

CAPTION


CENTER

Description

Causes subsequent text and images to be centered.

Remarks

This element is a block element.

Properties

className, document, id, innerHTML, innerText, isTextEdit, lang, language, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, sourceIndex, style, tagName, title

Methods

click, contains, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, setAttribute

Collections

all, children, filters

Events

onclick, ondblclick, ondragstart, onfilterchange, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselectstart

HTML Element

CENTER


CITE

Description

Indicates a citation. Refers to a book, paper, or other published source material. Text is rendered in italic.

Properties

className, document, id, innerHTML, innerText, isTextEdit, lang, language, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, sourceIndex, style, tagName, title

Methods

click, contains, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, setAttribute

Collections

all, children, filters

Events

onclick, ondblclick, ondragstart, onfilterchange, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselectstart

HTML Element

CITE

See Also

ACRONYM, ADDRESS, DFN, EM, I


CODE

Description

Specifies a code sample.

Properties

className, document, id, innerHTML, innerText, isTextEdit, lang, language, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, sourceIndex, style, tagName, title

Methods

click, contains, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, setAttribute

Collections

all, children, filters

Events

onclick, ondblclick, ondragstart, onfilterchange, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselectstart

HTML Element

CODE

See Also

SAMP


COL

Description

Specifies column-based defaults for the table properties.

Properties

align, className, document, id, isTextEdit, parentElement, parentTextEdit, span, style, tagName, title, vAlign, width

Methods

contains, getAttribute, removeAttribute, setAttribute

Collections

all, children

HTML Element

COL

See Also

COLGROUP


COLGROUP

Description

Contains a group of columns.

Properties

align, className, document, id, isTextEdit, parentElement, parentTextEdit, span, style, tagName, title, vAlign, width

Methods

contains, getAttribute, removeAttribute, setAttribute

Collections

all, children

HTML Element

COLGROUP

See Also

COL


COMMENT

Description

Indicates a comment that will not be displayed.

Properties

className, document, id, isTextEdit, lang, parentElement, parentTextEdit, sourceIndex, tagName, title

Methods

contains, getAttribute, removeAttribute, setAttribute

Collections

all, children

HTML Element

COMMENT


DD

Description

Indicates the definition in a definition list. The definition is usually indented from the definition list.

Remarks

This element is a block element.

Properties

className, document, id, innerHTML, innerText, isTextEdit, lang, language, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, sourceIndex, tagName, title

Methods

click, contains, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, setAttribute

Collections

all, children

Events

onclick, ondblclick, ondragstart, onfilterchange, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselectstart

HTML Element

DD

See Also

DL, DT

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.