SCRIPTSCRIPT*
*Contents  *Index  *Topic Contents
*Previous Topic: screen
*Next Topic: SELECT

SCRIPT

Description

Specifies a script for the page that will be interpreted by a script engine.

Remarks

Code within the SCRIPT block that is not contained within a function is executed immediately as the page is loaded. To keep scripts from being displayed on down-level browsers, the SCRIPT block should be nested within a comment block.

This element is a block element.

Properties

className, defer, document, event, htmlFor, id, innerHTML, innerText, isTextEdit, language, parentElement, parentTextEdit, readyState, sourceIndex, src, style, tagName, text, title, type

Methods

contains, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, setAttribute

Events

onerror, onload, onreadystatechange

HTML Element

SCRIPT


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.