132 out of 217 rated this helpful - Rate this topic

DHTML Objects

This section contains a list of the objects defined by Dynamic HTML (DHTML). The links take you to the object definitions, which contain the set of members for the object.

Objects

a

Designates the start or destination of a hypertext link.

abbr

Inserts an abbreviation into an HTMLdocument.

acronym

Indicates an acronym abbreviation.

address

Represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole.

applet

Places executable content on the document.

area

Defines the shape, coordinates, and associated URL of one hyperlink region within a client-side image map.

article

Represents a self-contained composition in an application or document and that might be independently distributable or reusable (for example, in syndication).

aside

Represents content that is tangentially related to the other content of a document, and which could be considered separately.

attribute

Represents an attribute or property of an HTML element as an object.

audio

Specifies the sound or audio content, such as music or effects, to be played in a document.

b

Specifies that the text should be rendered in bold.

base

Specifies an explicit URL used to resolve links and references to external sources such as images and style sheets.

baseFont

Sets a base font value to be used as the default font when rendering text.

bdo

Allows authors to disable the bidirectional algorithm for selected fragments of text.

BeforeUnloadEvent

Provides event properties that are specific to the onbeforeunload event.

bgSound

Enables an author to create pages with background sounds or soundtracks.

big

Specifies that the enclosed text should be displayed in a larger font than the current font.

blockQuote

Sets apart a quotation in text.

body

Specifies the beginning and end of the document body.

br

Inserts a line break.

button

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

canvas

Provides an object that is used for drawing, rendering, and manipulating images and graphics on a document.

CanvasGradient

Specifies an object that represents a color gradient on a CanvasRenderingContext2D object.

CanvasImageData

Provides an object that can represent a rectangle of pixels of a given width and height.

CanvasPattern

Provides an object that contains a pattern for a canvas fill style by using an image or portion of an image.

CanvasPixelArray

Contains color values and components of pixels for CanvasImageData objects and provides indexed access to the values and components.

CanvasRenderingContext2D

Provides an object that represents a two-dimensional surface that has an origin (0,0) at the upper-left corner, with x-coordinates increasing as you move right and y-coordinates increasing as you move down.

CanvasTextMetrics

Provides an object that contains the width attribute that the measureText method sets.

caption

Specifies a brief description for a table.

center

Centers subsequent text and images.

cite

Indicates a citation by rendering text in italic type.

clientInformation

Contains information about the browser.

clipboardData

Provides access to predefined clipboard formats for use in editing operations.

code

Specifies a code sample.

col

Specifies column-based defaults for the table properties.

colGroup

Specifies property defaults for a column or group of columns in a table.

comment

Indicates a comment that is not displayed.

CompositionEvent

Provides event properties that are specific to text composition events.

coordinates

Provides geographic coordinates and other properties that represent a geographic location.

CSSFontFaceRule

Represents an @font-face rule within a Cascading Style Sheets (CSS) style sheet.

CSSImportRule

Represents an @import rule within a CSS style sheet.

CSSMediaList

Represents an ordered collection of media types.

CSSMediaRule

Represents an @media rule within a CSS style sheet.

CSSNamespaceRule

Represents an @namespace rule within a CSS style sheet.

CSSRule

Represents a CSS statement (including both rule sets and at-rules).

CSSStyleDeclaration

Represents a CSS declaration block.

currentStyle

Represents the cascaded format and style of the object as specified by global style sheets, inline styles, and HTML attributes.

custom

Represents a user-defined element.

CustomEvent

Provides event properties that are specific to user-defined custom events.

dataTransfer

Provides access to predefined clipboard formats for use in drag-and-drop operations.

dd

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

defaults

Programmatically sets default properties on an element behavior.

del

Indicates text that has been deleted from the document.

dfn

Indicates the defining instance of a term.

dir

Denotes a directory list.

div

Specifies a container that renders HTML.

dl

Denotes a definition list.

document

Represents the HTML document in a specific window.

documentType

Provides properties that describe the document type of a document object.

DOMException

Describes errors thrown by Document Object Model (DOM) operations.

DOMParser

Provides a method to convert an XML string to nodes in a DOM tree.

DragEvent

Provides event properties that are specific to drag-and-drop events.

dt

Indicates a definition term within a definition list.

em

Emphasizes text, usually by rendering it in italic type.

embed

Allows documents of any type to be embedded.

event

Represents the state of an event, such as the element in which the event occurred, the state of the keyboard keys, the location of the mouse, and the state of the mouse buttons.

Event

Provides event properties and methods that are common to all events.

EventException

Describes errors thrown by event operations.

external

Allows access to an additional object model provided by host applications of the Windows Internet Explorer browser components.

fieldSet

Draws a box around the text and other elements that the field set contains.

figcaption

Represents a caption or legend for the contents of the parent figure element, if any.

figure

Represents self-contained content, optionally with a caption, that can be referenced as a single unit from the main content of the document.

FocusEvent

Provides event properties that are specific to focus events.

font

Specifies a new font, size, and color to be used for rendering the enclosed text.

footer

Represents a section that describes the nearest ancestor section, such as who wrote it, links to related documents, copyright data, and so on.

form

Specifies that the contained controls take part in a form.

frame

Specifies an individual frame within a frameSet element.

frameSet

Specifies a frameset, which is used to organize multiple frames and nested framesets.

geolocation

Provides methods for obtaining the geographic location of the device runningthe application.

head

Provides an unordered collection of information about the document.

header

Represents a group of introductory or navigational aids.

hgroup

Represents the heading of a section.

history

Contains information about the URLs visited by the client.

hn

Renders text in heading style.

hr

Draws a horizontal rule.

html

Identifies the document as containing HTML elements.

HTML Comment

Prevents any enclosed text or HTML source code from being parsed and displayed.

HtmlDlgSafeHelper

Provides access to the color dialog box, block formats, and system fonts collections.

DocumentCompatibleInfo

Provides information about the compatibity mode specified by the document. If the document specifies multiple compatibility modes, they can be retrieved using documentCompatibleInfoCollection.

HTMLDOMRange

Represents a range of content in a Document, DocumentFragment, or Attr element.

MediaError

Contains the current media error.

HTMLSelection

Represents the active selection, which is typically a highlighted block of text or other elements in the document. The active selection can be used to complete an action issued by a user or a script.

Storage

Represents the list of key/value pairs that have been assigned to a single storage area.

TimeRanges

Stores a collection of ranges (periods) of time.

i

Specifies that the text should be rendered in italic type, where available.

iframe

Creates inline floating frames.

Image

Creates and initializes a new img element.

img

Embeds an image or a video clip in the document.

implementation

Contains information about the modules supported by the object.

IMPORT

Imports a tag definition from an element behavior.

input

Creates a variety of form input controls.

input type=button

Creates a button control.

input type=checkbox

Creates a check box control.

input type=file

Creates a file upload object with a text box and Browse button.

input type=hidden

Transmits state information about client/server interaction.

input type=image

Creates an image control that, when clicked, causes the form to be immediately submitted.

input type=password

Creates a single-line text entry control similar to the INPUT type=text control, except that text is not displayed as the user enters it.

input type=radio

Creates a radio button control.

input type=reset

Creates a button that, when clicked, resets the form's controls to their initial values.

input type=submit

Creates a button that, when clicked, submits the form.

input type=text

Creates a single-line text entry control.

ins

Specifies text that has been inserted into the document.

isIndex

Causes the browser to display a dialog window that prompts the user for a single line of input.

kbd

Renders text in a fixed-width font.

KeyboardEvent

Provides event properties that are specific to keyboard events.

label

Specifies a label for another element on the page.

legend

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

li

Denotes one item in a list.

link

Enables the current document to establish links to external documents.

listing

Renders text in a fixed-width font.

location

Contains information about the current URL.

map

Contains coordinate data for client-side image maps.

mark

Represents a run of text that has been marked or highlighted.

marquee

Creates a scrolling text marquee.

media

Presents audio or video data to the user.

menu

Creates an unordered list of items.

MessageEvent

Provides event properties that are specific to the onmessage event.

meta

Conveys hidden information about the document to the server and the client.

MouseEvent

Provides event properties that are specific to mouse events.

MouseWheelEvent

Provides event properties that are specific to the onmousewheel event.

MSEventObj

Provides event properties that are common to all events.

MSSiteModeEvent

Provides event properties that are specific to pinned site events.

MutationEvent

Provides event properties that are specific to modifications to the DOM hierarchy and nodes.

namespace

Dynamically imports an element behavior into a document.

nav

Represents a section of a document that contains navigation links to other documents or to locations within the document.

navigator

Contains information about the client.

nextID

Creates unique identifiers that text editing software can read.

noBR

Renders text without line breaks.

NodeIterator

Provides an object that can be used to traverse filtered lists of nodes or elements using a flat logical representation of the document structure.

noFrames

Contains HTML for browsers that do not support FRAMESET elements.

noScript

Specifies HTML to be displayed in documents that do not support scripting.

object

Inserts an object into the HTML page.

ol

Draws lines of text as a numbered list.

optGroup

Allows authors to group choices logically in a select element.

option

Denotes one choice in a SELECT element.

Option

Creates and initializes a new option element.

p

Denotes a paragraph.

page

Represents an @page rule within a styleSheet.

param

Sets the initial value of a property for an APPLET, EMBED, or OBJECT element.

performance

The performance object contains properties that describe the interactions between Internet Explorer and the server hosting the webpage loaded into the window object, as well as the time required to load the page. This information can help you identify and troubleshoot problems with webpage performance.

performanceNavigation

The properties of the performanceNavigation object describe the user navigation and server actions required to load the document into the window object.

performanceTiming

Collects time measurements that are recorded while a webpage is loaded and presented to the user.

plainText

Not supported.

popup

A special type of overlapped window typically used for dialog boxes, message boxes, and other temporary windows that appear separate from an application's main window.

position

Provides geographic coordinates and other properties that represent a geographic location.

positionError

Provides methods for obtaining information about an error that occurred while attempting to access the geographic location of the device running the application.

pre

Renders text in a fixed-width font.

ProcessingInstruction

Represents a processing instruction for an XML parser.

q

Sets apart a quotation in text.

RangeException

Describes errors thrown by selection and range operations.

rt

Designates the ruby text for the RUBY element.

ruby

Designates an annotation or pronunciation guide to be placed above or inline with a string of text.

rule

Represents a style within a CSS that consists of a selector and one or more declarations.

runtimeStyle

Represents the cascaded format and style of the object that overrides the format and style specified in global style sheets, inline styles, and HTML attributes.

s

Renders text in strike-through type.

samp

Specifies a code sample.

screen

Contains information about the client's screen and rendering capabilities.

script

Specifies a script for the document that is interpreted by a script engine.

section

Represents a generic section of a document or application.

select

Denotes a list box or drop-down list.

selection

Represents the active selection, which is a highlighted block of text or other elements in the document that a user or a script can carry out some action on.

small

Specifies that the enclosed text should be displayed in a smaller font.

source

Provides a way for authors to specify multiple alternative media resources for media.

span

Specifies an inline text container.

StorageEvent

Provides event properties that are specific to the onstorage event.

strike

Renders text in strike-through type.

Renders text in strike-through type.strong

Renders text in bold.

style

Represents the current settings of all possible inline styles for a given element.

style

Specifies a style sheet for a document.

StyleMedia

Specifies the media type of the object that is used to view the document object.

styleSheet

Represents a single style sheet in the document.

sub

Specifies that the enclosed text should be displayed in subscript, using a smaller font than the current font.

sup

Specifies that the enclosed text should be displayed in superscript, using a smaller font than the current font.

SVGZoomEvent

Describes a zoom event.

table

Specifies that the contained content is organized into a table with rows and columns.

tBody

Designates rows as the body of the table.

td

Specifies a cell in a table.

textArea

Specifies a multiline text input control.

TextEvent

Provides event properties that are specific to text events.

TextNode

Represents a string of text as a node in the document hierarchy.

TextRange

Represents text in an HTML element.

TextRectangle

Specifies a rectangle that contains a line of text in either an element or a TextRange object.

tFoot

Designates rows as the table's footer.

th

Specifies a header column. Header columns are centered within the cell and are bold.

tHead

Designates rows as the table's header.

title

Contains the title of the document.

tr

Specifies a row in a table.

TreeWalker

Provides an object that can be used to traverse filtered lists of nodes or elements in a document. This object is ideal for navigating a representation of the document's tree structure.

tt

Renders text in a fixed-width font.

u

Renders text that is underlined.

UIEvent

Provides event properties that are specific to UI events.

ul

Draws lines of text as a bulleted list.

userProfile

Obsolete. Provides methods that allow a script to request read access to and perform read actions on a user's profile information.

var

Defines a programming variable. Typically renders in italic type.

video

Specifies the video content to be played in a document.

wbr

Inserts a soft line break into a block of NOBR text.

WheelEvent

Provides event properties that are specific to the onmousewheel event.

window

Represents an open window.

XDomainRequest

Represents a cross-domain Asynchronous JavaScript and XML (AJAX) request.

xml

Defines an XML data island on an HTML page.

XMLHttpRequest

Represents an XML request using HTTP.

XMLSerializer

Provides a method to convert nodes in a DOM tree to an XML string.

xmp

Renders text used for examples in a fixed-width font.

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.