Package-level declarations

Types

Link copied to clipboard
class Audio(src: String = definedExternally) : HTMLAudioElement
Link copied to clipboard
sealed interface AutoCapitalize
Link copied to clipboard
typealias BlobCallback = (blob: Blob?) -> Unit
Link copied to clipboard
sealed interface Blocking
Link copied to clipboard
sealed interface ButtonType
Link copied to clipboard
sealed interface CanPlayTypeResult
Link copied to clipboard
sealed interface ClosedBy
Link copied to clipboard

Available only in secure contexts.

Link copied to clipboard
sealed interface ElementContentEditable
Link copied to clipboard
sealed interface EnterKeyHint
Link copied to clipboard

The HTMLAnchorElement interface represents hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. This interface corresponds to element; not to be confused with , which is represented by HTMLLinkElement.

Link copied to clipboard

The HTMLAreaElement interface provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of elements.

Link copied to clipboard

The HTMLAudioElement interface provides access to the properties of

Link copied to clipboard

The HTMLBaseElement interface contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface.

Link copied to clipboard

The HTMLBodyElement interface provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating elements.

Link copied to clipboard

The HTMLBRElement interface represents an HTML line break element (
). It inherits from HTMLElement.

Link copied to clipboard

The HTMLButtonElement interface provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating

Link copied to clipboard

The HTMLCanvasElement interface provides properties and methods for manipulating the layout and presentation of elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface.

Link copied to clipboard
Link copied to clipboard

The HTMLCollection interface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list.

Link copied to clipboard

The HTMLDataElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating elements.

Link copied to clipboard

The HTMLDataListElement interface provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate elements and their content.

Link copied to clipboard

The HTMLDetailsElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating

elements.

Link copied to clipboard

The HTMLDialogElement interface provides methods to manipulate

elements. It inherits properties and methods from the HTMLElement interface.

Link copied to clipboard

The HTMLDivElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating

elements.

Link copied to clipboard

The HTMLDListElement interface provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list (

) elements.

Link copied to clipboard
open class HTMLDocument : Document

For historical reasons, Window objects have a window.HTMLDocument property whose value is the Document interface. So you can think of HTMLDocument as an alias for Document, and you can find documentation for HTMLDocument members under the documentation for the Document interface.

Link copied to clipboard

The HTMLElement interface represents any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it.

Link copied to clipboard

The HTMLEmbedElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating elements.

Link copied to clipboard

The HTMLFieldSetElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of

elements.

Link copied to clipboard

The HTMLFormControlsCollection interface represents a collection of HTML form control elements, returned by the HTMLFormElement interface's elements property.

Link copied to clipboard

The HTMLFormElement interface represents a

element in the DOM. It allows access to—and, in some cases, modification of—aspects of the form, as well as access to its component elements.

Link copied to clipboard

The HTMLHeadElement interface contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement interface.

Link copied to clipboard

The HTMLHeadingElement interface represents the different heading elements,

through

. It inherits methods and properties from the HTMLElement interface.

Link copied to clipboard

The HTMLHRElement interface provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating


elements.

Link copied to clipboard

The HTMLHtmlElement interface serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface.

Link copied to clipboard
sealed interface HTMLHyperlinkElementUtils
Link copied to clipboard

The HTMLIFrameElement interface provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements.

Link copied to clipboard

The HTMLImageElement interface represents an HTML element, providing the properties and methods used to manipulate image elements.

Link copied to clipboard

The HTMLInputElement interface provides special properties and methods for manipulating the options, layout, and presentation of elements.

Link copied to clipboard

The HTMLLabelElement interface gives access to properties specific to

Link copied to clipboard

The HTMLLegendElement is an interface allowing to access properties of the elements. It inherits properties and methods from the HTMLElement interface.

Link copied to clipboard

The HTMLLIElement interface exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements.

Link copied to clipboard

The HTMLLinkElement interface represents reference information for external resources and the relationship of those resources to a document and vice versa (corresponds to element; not to be confused with , which is represented by HTMLAnchorElement). This object inherits all of the properties and methods of the HTMLElement interface.

Link copied to clipboard

The HTMLMapElement interface provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of map elements.

Link copied to clipboard

The HTMLMediaElement interface adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video.

Link copied to clipboard

The HTMLMenuElement interface provides additional properties (beyond those inherited from the HTMLElement interface) for manipulating a

element. is a semantic alternative to the
    element.

Link copied to clipboard

The HTMLMetaElement interface contains descriptive metadata about a document provided in HTML as elements. This interface inherits all of the properties and methods described in the HTMLElement interface.

Link copied to clipboard

The HTML elements expose the HTMLMeterElement interface, which provides special properties and methods (beyond the HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of elements.

Link copied to clipboard

The HTMLModElement interface provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is and .

Link copied to clipboard

The HTMLObjectElement interface provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of element, representing external resources.

Link copied to clipboard

The HTMLOListElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements.

Link copied to clipboard

The HTMLOptGroupElement interface provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of elements.

Link copied to clipboard

The HTMLOptionElement interface represents

Link copied to clipboard

The HTMLOptionsCollection interface represents a collection of

Link copied to clipboard

The HTMLOutputElement interface provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of elements.

Link copied to clipboard

The HTMLParagraphElement interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating

elements.

Link copied to clipboard

The HTMLPictureElement interface represents a HTML element. It doesn't implement specific properties or methods.

Link copied to clipboard

The HTMLPreElement interface exposes specific properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating a block of preformatted text (

).

Link copied to clipboard

The HTMLProgressElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of elements.

Link copied to clipboard

The HTMLQuoteElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like

and , but not the element.

Link copied to clipboard

HTML