Support Objects
This section describes Document Object Model (DOM) objects that are not associated with HTML elements.
For information about DOM objects associated with HTML elements, see Elements.
In this section
| Topic | Description |
|---|---|
|
Represents an attribute or property of an HTML element as an object. | |
|
Specifies a rectangle that contains a line of text in either an element or a TextRange object. | |
|
Represents an @font-face rule within a Cascading Style Sheets (CSS) style sheet. | |
|
Programmatically sets default properties on an element behavior. | |
|
Contains a set of key/value pairs to send form data. | |
|
Creates and initializes a new img element. | |
|
Returns a Boolean value indicating whether or not the given HTML string is safe. | |
|
Creates and initializes a new option element. | |
|
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. | |
|
Note
selection is no longer supported. Starting with Internet Explorer 11, use getSelection. For info, see Compatibility changes.
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. | |
|
The ValidityState object is returned by the validity attribute and provides attributes to describe the state of validation on an element, such as a missing value, a type mismatch, or that the user's input is valid. |