Provides methods to manipulate elements. DeprecatedMDN Reference interface HTMLMarqueeElement { ATTRIBUTE_NODE: 2; CDATA_SECTION_NODE: 4; COMMENT_NODE: 8; DOCUMENT_FRAGMENT_NODE: 11; DOCUMENT_NODE: 9; DOCUMENT_POSITION_CONTAINED_BY: 16; DOCUMENT_POSITION_CONTAINS: 8; DOCUMENT_POSITION_DISCONNECTED: 1; DOCUMENT_POSITION_FOLLOWING: 4; DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32; DOCUMENT_POSITION_PRECEDING: 2; DOCUMENT_TYPE_NODE: 10; ELEMENT_NODE: 1; ENTITY_NODE: 6; ENTITY_REFERENCE_NODE: 5; NOTATION_NODE: 12; PROCESSING_INSTRUCTION_NODE: 7; TEXT_NODE: 3; accessKey: string; accessKeyLabel: string; ariaAtomic: null | string; ariaAutoComplete: null | string; ariaBrailleLabel: null | string; ariaBrailleRoleDescription: null | string; ariaBusy: null | string; ariaChecked: null | string; ariaColCount: null | string; ariaColIndex: null | string; ariaColSpan: null | string; ariaCurrent: null | string; ariaDescription: null | string; ariaDisabled: null | string; ariaExpanded: null | string; ariaHasPopup: null | string; ariaHidden: null | string; ariaInvalid: null | string; ariaKeyShortcuts: null | string; ariaLabel: null | string; ariaLevel: null | string; ariaLive: null | string; ariaModal: null | string; ariaMultiLine: null | string; ariaMultiSelectable: null | string; ariaOrientation: null | string; ariaPlaceholder: null | string; ariaPosInSet: null | string; ariaPressed: null | string; ariaReadOnly: null | string; ariaRequired: null | string; ariaRoleDescription: null | string; ariaRowCount: null | string; ariaRowIndex: null | string; ariaRowSpan: null | string; ariaSelected: null | string; ariaSetSize: null | string; ariaSort: null | string; ariaValueMax: null | string; ariaValueMin: null | string; ariaValueNow: null | string; ariaValueText: null | string; assignedSlot: null | HTMLSlotElement; attributeStyleMap: StylePropertyMap; attributes: NamedNodeMap; autocapitalize: string; autofocus: boolean; baseURI: string; behavior: string; bgColor: string; childElementCount: number; childNodes: NodeListOf<ChildNode>; children: HTMLCollection; classList: DOMTokenList; className: string; clientHeight: number; clientLeft: number; clientTop: number; clientWidth: number; contentEditable: string; dataset: DOMStringMap; dir: string; direction: string; draggable: boolean; enterKeyHint: string; firstChild: null | ChildNode; firstElementChild: null | Element; height: string; hidden: boolean; hspace: number; id: string; inert: boolean; innerHTML: string; innerText: string; inputMode: string; isConnected: boolean; isContentEditable: boolean; lang: string; lastChild: null | ChildNode; lastElementChild: null | Element; localName: string; loop: number; namespaceURI: null | string; nextElementSibling: null | Element; nextSibling: null | ChildNode; nodeName: string; nodeType: number; nodeValue: null | string; nonce?: string; offsetHeight: number; offsetLeft: number; offsetParent: null | Element; offsetTop: number; offsetWidth: number; onabort: null | ((this: GlobalEventHandlers, ev: UIEvent) => any); onanimationcancel: null | ((this: GlobalEventHandlers, ev: AnimationEvent) => any); onanimationend: null | ((this: GlobalEventHandlers, ev: AnimationEvent) => any); onanimationiteration: null | ((this: GlobalEventHandlers, ev: AnimationEvent) => any); onanimationstart: null | ((this: GlobalEventHandlers, ev: AnimationEvent) => any); onauxclick: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any); onbeforeinput: null | ((this: GlobalEventHandlers, ev: InputEvent) => any); onbeforetoggle: null | ((this: GlobalEventHandlers, ev: Event) => any); onblur: null | ((this: GlobalEventHandlers, ev: FocusEvent) => any); oncancel: null | ((this: GlobalEventHandlers, ev: Event) => any); oncanplay: null | ((this: GlobalEventHandlers, ev: Event) => any); oncanplaythrough: null | ((this: GlobalEventHandlers, ev: Event) => any); onchange: null | ((this: GlobalEventHandlers, ev: Event) => any); onclick: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any); onclose: null | ((this: GlobalEventHandlers, ev: Event) => any); oncontextmenu: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any); oncopy: null | ((this: GlobalEventHandlers, ev: ClipboardEvent) => any); oncuechange: null | ((this: GlobalEventHandlers, ev: Event) => any); oncut: null | ((this: GlobalEventHandlers, ev: ClipboardEvent) => any); ondblclick: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any); ondrag: null | ((this: GlobalEventHandlers, ev: DragEvent) => any); ondragend: null | ((this: GlobalEventHandlers, ev: DragEvent) => any); ondragenter: null | ((this: GlobalEventHandlers, ev: DragEvent) => any); ondragleave: null | ((this: GlobalEventHandlers, ev: DragEvent) => any); ondragover: null | ((this: GlobalEventHandlers, ev: DragEvent) => any); ondragstart: null | ((this: GlobalEventHandlers, ev: DragEvent) => any); ondrop: null | ((this: GlobalEventHandlers, ev: DragEvent) => any); ondurationchange: null | ((this: GlobalEventHandlers, ev: Event) => any); onemptied: null | ((this: GlobalEventHandlers, ev: Event) => any); onended: null | ((this: GlobalEventHandlers, ev: Event) => any); onerror: OnErrorEventHandler; onfocus: null | ((this: GlobalEventHandlers, ev: FocusEvent) => any); onformdata: null | ((this: GlobalEventHandlers, ev: FormDataEvent) => any); onfullscreenchange: null | ((this: Element, ev: Event) => any); onfullscreenerror: null | ((this: Element, ev: Event) => any); ongotpointercapture: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any); oninput: null | ((this: GlobalEventHandlers, ev: Event) => any); oninvalid: null | ((this: GlobalEventHandlers, ev: Event) => any); onkeydown: null | ((this: GlobalEventHandlers, ev: KeyboardEvent) => any); onkeypress: null | ((this: GlobalEventHandlers, ev: KeyboardEvent) => any); onkeyup: null | ((this: GlobalEventHandlers, ev: KeyboardEvent) => any); onload: null | ((this: GlobalEventHandlers, ev: Event) => any); onloadeddata: null | ((this: GlobalEventHandlers, ev: Event) => any); onloadedmetadata: null | ((this: GlobalEventHandlers, ev: Event) => any); onloadstart: null | ((this: GlobalEventHandlers, ev: Event) => any); onlostpointercapture: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any); onmousedown: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any); onmouseenter: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any); onmouseleave: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any); onmousemove: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any); onmouseout: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any); onmouseover: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any); onmouseup: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any); onpaste: null | ((this: GlobalEventHandlers, ev: ClipboardEvent) => any); onpause: null | ((this: GlobalEventHandlers, ev: Event) => any); onplay: null | ((this: GlobalEventHandlers, ev: Event) => any); onplaying: null | ((this: GlobalEventHandlers, ev: Event) => any); onpointercancel: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any); onpointerdown: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any); onpointerenter: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any); onpointerleave: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any); onpointermove: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any); onpointerout: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any); onpointerover: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any); onpointerup: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any); onprogress: null | ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any); onratechange: null | ((this: GlobalEventHandlers, ev: Event) => any); onreset: null | ((this: GlobalEventHandlers, ev: Event) => any); onresize: null | ((this: GlobalEventHandlers, ev: UIEvent) => any); onscroll: null | ((this: GlobalEventHandlers, ev: Event) => any); onscrollend: null | ((this: GlobalEventHandlers, ev: Event) => any); onsecuritypolicyviolation: null | ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any); onseeked: null | ((this: GlobalEventHandlers, ev: Event) => any); onseeking: null | ((this: GlobalEventHandlers, ev: Event) => any); onselect: null | ((this: GlobalEventHandlers, ev: Event) => any); onselectionchange: null | ((this: GlobalEventHandlers, ev: Event) => any); onselectstart: null | ((this: GlobalEventHandlers, ev: Event) => any); onslotchange: null | ((this: GlobalEventHandlers, ev: Event) => any); onstalled: null | ((this: GlobalEventHandlers, ev: Event) => any); onsubmit: null | ((this: GlobalEventHandlers, ev: SubmitEvent) => any); onsuspend: null | ((this: GlobalEventHandlers, ev: Event) => any); ontimeupdate: null | ((this: GlobalEventHandlers, ev: Event) => any); ontoggle: null | ((this: GlobalEventHandlers, ev: Event) => any); ontouchcancel?: null | ((this: GlobalEventHandlers, ev: TouchEvent) => any); ontouchend?: null | ((this: GlobalEventHandlers, ev: TouchEvent) => any); ontouchmove?: null | ((this: GlobalEventHandlers, ev: TouchEvent) => any); ontouchstart?: null | ((this: GlobalEventHandlers, ev: TouchEvent) => any); ontransitioncancel: null | ((this: GlobalEventHandlers, ev: TransitionEvent) => any); ontransitionend: null | ((this: GlobalEventHandlers, ev: TransitionEvent) => any); ontransitionrun: null | ((this: GlobalEventHandlers, ev: TransitionEvent) => any); ontransitionstart: null | ((this: GlobalEventHandlers, ev: TransitionEvent) => any); onvolumechange: null | ((this: GlobalEventHandlers, ev: Event) => any); onwaiting: null | ((this: GlobalEventHandlers, ev: Event) => any); onwebkitanimationend: null | ((this: GlobalEventHandlers, ev: Event) => any); onwebkitanimationiteration: null | ((this: GlobalEventHandlers, ev: Event) => any); onwebkitanimationstart: null | ((this: GlobalEventHandlers, ev: Event) => any); onwebkittransitionend: null | ((this: GlobalEventHandlers, ev: Event) => any); onwheel: null | ((this: GlobalEventHandlers, ev: WheelEvent) => any); outerHTML: string; outerText: string; ownerDocument: Document; parentElement: null | HTMLElement; parentNode: null | ParentNode; part: DOMTokenList; popover: null | string; prefix: null | string; previousElementSibling: null | Element; previousSibling: null | ChildNode; role: null | string; scrollAmount: number; scrollDelay: number; scrollHeight: number; scrollLeft: number; scrollTop: number; scrollWidth: number; shadowRoot: null | ShadowRoot; slot: string; spellcheck: boolean; style: CSSStyleDeclaration; tabIndex: number; tagName: string; textContent: null | string; title: string; translate: boolean; trueSpeed: boolean; vspace: number; width: string; addEventListener<K>(type: K, listener: ((this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any), options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; after(...nodes: (string | Node)[]): void; animate(keyframes: null | PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation; append(...nodes: (string | Node)[]): void; appendChild<T>(node: T): T; attachInternals(): ElementInternals; attachShadow(init: ShadowRootInit): ShadowRoot; before(...nodes: (string | Node)[]): void; blur(): void; checkVisibility(options?: CheckVisibilityOptions): boolean; click(): void; cloneNode(deep?: boolean): Node; closest<K>(selector: K): null | HTMLElementTagNameMap[K]; closest<K>(selector: K): null | SVGElementTagNameMap[K]; closest<K>(selector: K): null | MathMLElementTagNameMap[K]; closest<E>(selectors: string): null | E; compareDocumentPosition(other: Node): number; computedStyleMap(): StylePropertyMapReadOnly; contains(other: null | Node): boolean; dispatchEvent(event: Event): boolean; focus(options?: FocusOptions): void; getAnimations(options?: GetAnimationsOptions): Animation[]; getAttribute(qualifiedName: string): null | string; getAttributeNS(namespace: null | string, localName: string): null | string; getAttributeNames(): string[]; getAttributeNode(qualifiedName: string): null | Attr; getAttributeNodeNS(namespace: null | string, localName: string): null | Attr; getBoundingClientRect(): DOMRect; getClientRects(): DOMRectList; getElementsByClassName(classNames: string): HTMLCollectionOf<Element>; getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>; getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>; getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>; getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>; getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>; getElementsByTagNameNS(namespace: null | string, localName: string): HTMLCollectionOf<Element>; getRootNode(options?: GetRootNodeOptions): Node; hasAttribute(qualifiedName: string): boolean; hasAttributeNS(namespace: null | string, localName: string): boolean; hasAttributes(): boolean; hasChildNodes(): boolean; hasPointerCapture(pointerId: number): boolean; hidePopover(): void; insertAdjacentElement(where: InsertPosition, element: Element): null | Element; insertAdjacentHTML(position: InsertPosition, text: string): void; insertAdjacentText(where: InsertPosition, data: string): void; insertBefore<T>(node: T, child: null | Node): T; isDefaultNamespace(namespace: null | string): boolean; isEqualNode(otherNode: null | Node): boolean; isSameNode(otherNode: null | Node): boolean; lookupNamespaceURI(prefix: null | string): null | string; lookupPrefix(namespace: null | string): null | string; matches(selectors: string): boolean; normalize(): void; prepend(...nodes: (string | Node)[]): void; querySelector<K>(selectors: K): null | HTMLElementTagNameMap[K]; querySelector<K>(selectors: K): null | SVGElementTagNameMap[K]; querySelector<K>(selectors: K): null | MathMLElementTagNameMap[K]; querySelector<K>(selectors: K): null | HTMLElementDeprecatedTagNameMap[K]; querySelector<E>(selectors: string): null | E; querySelectorAll<K>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>; querySelectorAll<K>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>; querySelectorAll<K>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>; querySelectorAll<K>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>; querySelectorAll<E>(selectors: string): NodeListOf<E>; releasePointerCapture(pointerId: number): void; remove(): void; removeAttribute(qualifiedName: string): void; removeAttributeNS(namespace: null | string, localName: string): void; removeAttributeNode(attr: Attr): Attr; removeChild<T>(child: T): T; removeEventListener<K>(type: K, listener: ((this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any), options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; replaceChild<T>(node: Node, child: T): T; replaceChildren(...nodes: (string | Node)[]): void; replaceWith(...nodes: (string | Node)[]): void; requestFullscreen(options?: FullscreenOptions): Promise<void>; requestPointerLock(): void; scroll(options?: ScrollToOptions): void; scroll(x: number, y: number): void; scrollBy(options?: ScrollToOptions): void; scrollBy(x: number, y: number): void; scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void; scrollTo(options?: ScrollToOptions): void; scrollTo(x: number, y: number): void; setAttribute(qualifiedName: string, value: string): void; setAttributeNS(namespace: null | string, qualifiedName: string, value: string): void; setAttributeNode(attr: Attr): null | Attr; setAttributeNodeNS(attr: Attr): null | Attr; setHTMLUnsafe(html: string): void; setPointerCapture(pointerId: number): void; showPopover(): void; start(): void; stop(): void; toggleAttribute(qualifiedName: string, force?: boolean): boolean; togglePopover(force?: boolean): boolean; webkitMatchesSelector(selectors: string): boolean; }Hierarchy (view full)HTMLElementHTMLMarqueeElement IndexPropertiesATTRIBUTE_NODE CDATA_SECTION_NODE COMMENT_NODE DOCUMENT_FRAGMENT_NODE DOCUMENT_NODE DOCUMENT_POSITION_CONTAINED_BY DOCUMENT_POSITION_CONTAINS DOCUMENT_POSITION_DISCONNECTED DOCUMENT_POSITION_FOLLOWING DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC DOCUMENT_POSITION_PRECEDING DOCUMENT_TYPE_NODE ELEMENT_NODE ENTITY_NODE ENTITY_REFERENCE_NODE NOTATION_NODE PROCESSING_INSTRUCTION_NODE TEXT_NODE accessKey accessKeyLabel ariaAtomic ariaAutoComplete ariaBrailleLabel ariaBrailleRoleDescription ariaBusy ariaChecked ariaColCount ariaColIndex ariaColSpan ariaCurrent ariaDescription ariaDisabled ariaExpanded ariaHasPopup ariaHidden ariaInvalid ariaKeyShortcuts ariaLabel ariaLevel ariaLive ariaModal ariaMultiLine ariaMultiSelectable ariaOrientation ariaPlaceholder ariaPosInSet ariaPressed ariaReadOnly ariaRequired ariaRoleDescription ariaRowCount ariaRowIndex ariaRowSpan ariaSelected ariaSetSize ariaSort ariaValueMax ariaValueMin ariaValueNow ariaValueText assignedSlot attributeStyleMap attributes autocapitalize autofocus baseURI behavior bgColor childElementCount childNodes children classList className clientHeight clientLeft clientTop clientWidth contentEditable dataset dir direction draggable enterKeyHint firstChild firstElementChild height hidden hspace id inert innerHTML innerText inputMode isConnected isContentEditable lang lastChild lastElementChild localName loop namespaceURI nextElementSibling nextSibling nodeName nodeType nodeValue nonce? offsetHeight offsetLeft offsetParent offsetTop offsetWidth onabort onanimationcancel onanimationend onanimationiteration onanimationstart onauxclick onbeforeinput onbeforetoggle onblur oncancel oncanplay oncanplaythrough onchange onclick onclose oncontextmenu oncopy oncuechange oncut ondblclick ondrag ondragend ondragenter ondragleave ondragover ondragstart ondrop ondurationchange onemptied onended onerror onfocus onformdata onfullscreenchange onfullscreenerror ongotpointercapture oninput oninvalid onkeydown onkeypress onkeyup onload onloadeddata onloadedmetadata onloadstart onlostpointercapture onmousedown onmouseenter onmouseleave onmousemove onmouseout onmouseover onmouseup onpaste onpause onplay onplaying onpointercancel onpointerdown onpointerenter onpointerleave onpointermove onpointerout onpointerover onpointerup onprogress onratechange onreset onresize onscroll onscrollend onsecuritypolicyviolation onseeked onseeking onselect onselectionchange onselectstart onslotchange onstalled onsubmit onsuspend ontimeupdate ontoggle ontouchcancel? ontouchend? ontouchmove? ontouchstart? ontransitioncancel ontransitionend ontransitionrun ontransitionstart onvolumechange onwaiting onwebkitanimationend onwebkitanimationiteration onwebkitanimationstart onwebkittransitionend onwheel outerHTML outerText ownerDocument parentElement parentNode part popover prefix previousElementSibling previousSibling role scrollAmount scrollDelay scrollHeight scrollLeft scrollTop scrollWidth shadowRoot slot spellcheck style tabIndex tagName textContent title translate trueSpeed vspace width MethodsaddEventListener after animate append appendChild attachInternals attachShadow before blur checkVisibility click cloneNode closest compareDocumentPosition computedStyleMap contains dispatchEvent focus getAnimations getAttribute getAttributeNS getAttributeNames getAttributeNode getAttributeNodeNS getBoundingClientRect getClientRects getElementsByClassName getElementsByTagName getElementsByTagNameNS getRootNode hasAttribute hasAttributeNS hasAttributes hasChildNodes hasPointerCapture hidePopover insertAdjacentElement insertAdjacentHTML insertAdjacentText insertBefore isDefaultNamespace isEqualNode isSameNode lookupNamespaceURI lookupPrefix matches normalize prepend querySelector querySelectorAll releasePointerCapture remove removeAttribute removeAttributeNS removeAttributeNode removeChild removeEventListener replaceChild replaceChildren replaceWith requestFullscreen requestPointerLock scroll scrollBy scrollIntoView scrollTo setAttribute setAttributeNS setAttributeNode setAttributeNodeNS setHTMLUnsafe setPointerCapture showPopover start stop toggleAttribute togglePopover webkitMatchesSelector PropertiesReadonlyATTRIBUTE_NODEATTRIBUTE_NODE: 2ReadonlyCDATA_SECTION_NODECDATA_SECTION_NODE: 4node is a CDATASection node. ReadonlyCOMMENT_NODECOMMENT_NODE: 8node is a Comment node. ReadonlyDOCUMENT_FRAGMENT_NODEDOCUMENT_FRAGMENT_NODE: 11node is a DocumentFragment node. ReadonlyDOCUMENT_NODEDOCUMENT_NODE: 9node is a document. ReadonlyDOCUMENT_POSITION_CONTAINED_BYDOCUMENT_POSITION_CONTAINED_BY: 16Set when other is a descendant of node. ReadonlyDOCUMENT_POSITION_CONTAINSDOCUMENT_POSITION_CONTAINS: 8Set when other is an ancestor of node. ReadonlyDOCUMENT_POSITION_DISCONNECTEDDOCUMENT_POSITION_DISCONNECTED: 1Set when node and other are not in the same tree. ReadonlyDOCUMENT_POSITION_FOLLOWINGDOCUMENT_POSITION_FOLLOWING: 4Set when other is following node. ReadonlyDOCUMENT_POSITION_IMPLEMENTATION_SPECIFICDOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32ReadonlyDOCUMENT_POSITION_PRECEDINGDOCUMENT_POSITION_PRECEDING: 2Set when other is preceding node. ReadonlyDOCUMENT_TYPE_NODEDOCUMENT_TYPE_NODE: 10node is a doctype. ReadonlyELEMENT_NODEELEMENT_NODE: 1node is an element. ReadonlyENTITY_NODEENTITY_NODE: 6ReadonlyENTITY_REFERENCE_NODEENTITY_REFERENCE_NODE: 5ReadonlyNOTATION_NODENOTATION_NODE: 12ReadonlyPROCESSING_INSTRUCTION_NODEPROCESSING_INSTRUCTION_NODE: 7node is a ProcessingInstruction node. ReadonlyTEXT_NODETEXT_NODE: 3node is a Text node. accessKeyaccessKey: stringMDN Reference ReadonlyaccessKeyLabelaccessKeyLabel: stringMDN Reference ariaAtomicariaAtomic: null | stringMDN Reference ariaAutoCompleteariaAutoComplete: null | stringMDN Reference ariaBrailleLabelariaBrailleLabel: null | stringariaBrailleRoleDescriptionariaBrailleRoleDescription: null | stringariaBusyariaBusy: null | stringMDN Reference ariaCheckedariaChecked: null | stringMDN Reference ariaColCountariaColCount: null | stringMDN Reference ariaColIndexariaColIndex: null | stringMDN Reference ariaColSpanariaColSpan: null | stringMDN Reference ariaCurrentariaCurrent: null | stringMDN Reference ariaDescriptionariaDescription: null | stringMDN Reference ariaDisabledariaDisabled: null | stringMDN Reference ariaExpandedariaExpanded: null | stringMDN Reference ariaHasPopupariaHasPopup: null | stringMDN Reference ariaHiddenariaHidden: null | stringMDN Reference ariaInvalidariaInvalid: null | stringariaKeyShortcutsariaKeyShortcuts: null | stringMDN Reference ariaLabelariaLabel: null | stringMDN Reference ariaLevelariaLevel: null | stringMDN Reference ariaLiveariaLive: null | stringMDN Reference ariaModalariaModal: null | stringMDN Reference ariaMultiLineariaMultiLine: null | stringMDN Reference ariaMultiSelectableariaMultiSelectable: null | stringMDN Reference ariaOrientationariaOrientation: null | stringMDN Reference ariaPlaceholderariaPlaceholder: null | stringMDN Reference ariaPosInSetariaPosInSet: null | stringMDN Reference ariaPressedariaPressed: null | stringMDN Reference ariaReadOnlyariaReadOnly: null | stringMDN Reference ariaRequiredariaRequired: null | stringMDN Reference ariaRoleDescriptionariaRoleDescription: null | stringMDN Reference ariaRowCountariaRowCount: null | stringMDN Reference ariaRowIndexariaRowIndex: null | stringMDN Reference ariaRowSpanariaRowSpan: null | stringMDN Reference ariaSelectedariaSelected: null | stringMDN Reference ariaSetSizeariaSetSize: null | stringMDN Reference ariaSortariaSort: null | stringMDN Reference ariaValueMaxariaValueMax: null | stringMDN Reference ariaValueMinariaValueMin: null | stringMDN Reference ariaValueNowariaValueNow: null | stringMDN Reference ariaValueTextariaValueText: null | stringMDN Reference ReadonlyassignedSlotassignedSlot: null | HTMLSlotElementMDN Reference ReadonlyattributeStyleMapattributeStyleMap: StylePropertyMapReadonlyattributesattributes: NamedNodeMapMDN Reference autocapitalizeautocapitalize: stringautofocusautofocus: booleanMDN Reference ReadonlybaseURIbaseURI: stringReturns node's node document's document base URL. MDN Reference behaviorbehavior: stringDeprecatedbgColorbgColor: stringDeprecatedReadonlychildElementCountchildElementCount: numberMDN Reference ReadonlychildNodeschildNodes: NodeListOf<ChildNode>Returns the children. MDN Reference Readonlychildrenchildren: HTMLCollectionReturns the child elements. MDN Reference ReadonlyclassListclassList: DOMTokenListAllows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. MDN Reference classNameclassName: stringReturns the value of element's class content attribute. Can be set to change it. MDN Reference ReadonlyclientHeightclientHeight: numberMDN Reference ReadonlyclientLeftclientLeft: numberMDN Reference ReadonlyclientTopclientTop: numberMDN Reference ReadonlyclientWidthclientWidth: numberMDN Reference contentEditablecontentEditable: stringMDN Reference Readonlydatasetdataset: DOMStringMapMDN Reference dirdir: stringMDN Reference directiondirection: stringDeprecateddraggabledraggable: booleanMDN Reference enterKeyHintenterKeyHint: stringMDN Reference ReadonlyfirstChildfirstChild: null | ChildNodeReturns the first child. MDN Reference ReadonlyfirstElementChildfirstElementChild: null | ElementReturns the first child that is an element, and null otherwise. MDN Reference heightheight: stringDeprecatedhiddenhidden: booleanMDN Reference hspacehspace: numberDeprecatedidid: stringReturns the value of element's id content attribute. Can be set to change it. MDN Reference inertinert: booleanMDN Reference innerHTMLinnerHTML: stringMDN Reference innerTextinnerText: stringMDN Reference inputModeinputMode: stringMDN Reference ReadonlyisConnectedisConnected: booleanReturns true if node is connected and false otherwise. MDN Reference ReadonlyisContentEditableisContentEditable: booleanMDN Reference langlang: stringMDN Reference ReadonlylastChildlastChild: null | ChildNodeReturns the last child. MDN Reference ReadonlylastElementChildlastElementChild: null | ElementReturns the last child that is an element, and null otherwise. MDN Reference ReadonlylocalNamelocalName: stringReturns the local name. MDN Reference looploop: numberDeprecatedReadonlynamespaceURInamespaceURI: null | stringReturns the namespace. MDN Reference ReadonlynextElementSiblingnextElementSibling: null | ElementReturns the first following sibling that is an element, and null otherwise. MDN Reference ReadonlynextSiblingnextSibling: null | ChildNodeReturns the next sibling. MDN Reference ReadonlynodeNamenodeName: stringReturns a string appropriate for the type of node. MDN Reference ReadonlynodeTypenodeType: numberReturns the type of node. MDN Reference nodeValuenodeValue: null | stringMDN Reference Optionalnoncenonce?: stringMDN Reference ReadonlyoffsetHeightoffsetHeight: numberMDN Reference ReadonlyoffsetLeftoffsetLeft: numberMDN Reference ReadonlyoffsetParentoffsetParent: null | ElementMDN Reference ReadonlyoffsetTopoffsetTop: numberMDN Reference ReadonlyoffsetWidthoffsetWidth: numberMDN Reference onabortonabort: null | ((this: GlobalEventHandlers, ev: UIEvent) => any)Fires when the user aborts the download. Param: evThe event. MDN Reference onanimationcancelonanimationcancel: null | ((this: GlobalEventHandlers, ev: AnimationEvent) => any)MDN Reference onanimationendonanimationend: null | ((this: GlobalEventHandlers, ev: AnimationEvent) => any)MDN Reference onanimationiterationonanimationiteration: null | ((this: GlobalEventHandlers, ev: AnimationEvent) => any)MDN Reference onanimationstartonanimationstart: null | ((this: GlobalEventHandlers, ev: AnimationEvent) => any)MDN Reference onauxclickonauxclick: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any)MDN Reference onbeforeinputonbeforeinput: null | ((this: GlobalEventHandlers, ev: InputEvent) => any)MDN Reference onbeforetoggleonbeforetoggle: null | ((this: GlobalEventHandlers, ev: Event) => any)MDN Reference onbluronblur: null | ((this: GlobalEventHandlers, ev: FocusEvent) => any)Fires when the object loses the input focus. Param: evThe focus event. MDN Reference oncanceloncancel: null | ((this: GlobalEventHandlers, ev: Event) => any)MDN Reference oncanplayoncanplay: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when playback is possible, but would require further buffering. Param: evThe event. MDN Reference oncanplaythroughoncanplaythrough: null | ((this: GlobalEventHandlers, ev: Event) => any)MDN Reference onchangeonchange: null | ((this: GlobalEventHandlers, ev: Event) => any)Fires when the contents of the object or selection have changed. Param: evThe event. MDN Reference onclickonclick: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any)Fires when the user clicks the left mouse button on the object Param: evThe mouse event. MDN Reference oncloseonclose: null | ((this: GlobalEventHandlers, ev: Event) => any)MDN Reference oncontextmenuoncontextmenu: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any)Fires when the user clicks the right mouse button in the client area, opening the context menu. Param: evThe mouse event. MDN Reference oncopyoncopy: null | ((this: GlobalEventHandlers, ev: ClipboardEvent) => any)MDN Reference oncuechangeoncuechange: null | ((this: GlobalEventHandlers, ev: Event) => any)MDN Reference oncutoncut: null | ((this: GlobalEventHandlers, ev: ClipboardEvent) => any)MDN Reference ondblclickondblclick: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any)Fires when the user double-clicks the object. Param: evThe mouse event. MDN Reference ondragondrag: null | ((this: GlobalEventHandlers, ev: DragEvent) => any)Fires on the source object continuously during a drag operation. Param: evThe event. MDN Reference ondragendondragend: null | ((this: GlobalEventHandlers, ev: DragEvent) => any)Fires on the source object when the user releases the mouse at the close of a drag operation. Param: evThe event. MDN Reference ondragenterondragenter: null | ((this: GlobalEventHandlers, ev: DragEvent) => any)Fires on the target element when the user drags the object to a valid drop target. Param: evThe drag event. MDN Reference ondragleaveondragleave: null | ((this: GlobalEventHandlers, ev: DragEvent) => any)Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. Param: evThe drag event. MDN Reference ondragoverondragover: null | ((this: GlobalEventHandlers, ev: DragEvent) => any)Fires on the target element continuously while the user drags the object over a valid drop target. Param: evThe event. MDN Reference ondragstartondragstart: null | ((this: GlobalEventHandlers, ev: DragEvent) => any)Fires on the source object when the user starts to drag a text selection or selected object. Param: evThe event. MDN Reference ondropondrop: null | ((this: GlobalEventHandlers, ev: DragEvent) => any)MDN Reference ondurationchangeondurationchange: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when the duration attribute is updated. Param: evThe event. MDN Reference onemptiedonemptied: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when the media element is reset to its initial state. Param: evThe event. MDN Reference onendedonended: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when the end of playback is reached. Param: evThe event MDN Reference onerroronerror: OnErrorEventHandlerFires when an error occurs during object loading. Param: evThe event. MDN Reference onfocusonfocus: null | ((this: GlobalEventHandlers, ev: FocusEvent) => any)Fires when the object receives focus. Param: evThe event. MDN Reference onformdataonformdata: null | ((this: GlobalEventHandlers, ev: FormDataEvent) => any)MDN Reference onfullscreenchangeonfullscreenchange: null | ((this: Element, ev: Event) => any)MDN Reference onfullscreenerroronfullscreenerror: null | ((this: Element, ev: Event) => any)MDN Reference ongotpointercaptureongotpointercapture: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any)MDN Reference oninputoninput: null | ((this: GlobalEventHandlers, ev: Event) => any)MDN Reference oninvalidoninvalid: null | ((this: GlobalEventHandlers, ev: Event) => any)MDN Reference onkeydownonkeydown: null | ((this: GlobalEventHandlers, ev: KeyboardEvent) => any)Fires when the user presses a key. Param: evThe keyboard event MDN Reference onkeypressonkeypress: null | ((this: GlobalEventHandlers, ev: KeyboardEvent) => any)Fires when the user presses an alphanumeric key. Param: evThe event. DeprecatedMDN Reference onkeyuponkeyup: null | ((this: GlobalEventHandlers, ev: KeyboardEvent) => any)Fires when the user releases a key. Param: evThe keyboard event MDN Reference onloadonload: null | ((this: GlobalEventHandlers, ev: Event) => any)Fires immediately after the browser loads the object. Param: evThe event. MDN Reference onloadeddataonloadeddata: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when media data is loaded at the current playback position. Param: evThe event. MDN Reference onloadedmetadataonloadedmetadata: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when the duration and dimensions of the media have been determined. Param: evThe event. MDN Reference onloadstartonloadstart: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when Internet Explorer begins looking for media data. Param: evThe event. MDN Reference onlostpointercaptureonlostpointercapture: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any)MDN Reference onmousedownonmousedown: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any)Fires when the user clicks the object with either mouse button. Param: evThe mouse event. MDN Reference onmouseenteronmouseenter: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any)MDN Reference onmouseleaveonmouseleave: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any)MDN Reference onmousemoveonmousemove: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any)Fires when the user moves the mouse over the object. Param: evThe mouse event. MDN Reference onmouseoutonmouseout: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any)Fires when the user moves the mouse pointer outside the boundaries of the object. Param: evThe mouse event. MDN Reference onmouseoveronmouseover: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any)Fires when the user moves the mouse pointer into the object. Param: evThe mouse event. MDN Reference onmouseuponmouseup: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any)Fires when the user releases a mouse button while the mouse is over the object. Param: evThe mouse event. MDN Reference onpasteonpaste: null | ((this: GlobalEventHandlers, ev: ClipboardEvent) => any)MDN Reference onpauseonpause: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when playback is paused. Param: evThe event. MDN Reference onplayonplay: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when the play method is requested. Param: evThe event. MDN Reference onplayingonplaying: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when the audio or video has started playing. Param: evThe event. MDN Reference onpointercancelonpointercancel: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any)MDN Reference onpointerdownonpointerdown: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any)MDN Reference onpointerenteronpointerenter: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any)MDN Reference onpointerleaveonpointerleave: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any)MDN Reference onpointermoveonpointermove: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any)MDN Reference onpointeroutonpointerout: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any)MDN Reference onpointeroveronpointerover: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any)MDN Reference onpointeruponpointerup: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any)MDN Reference onprogressonprogress: null | ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any)Occurs to indicate progress while downloading media data. Param: evThe event. MDN Reference onratechangeonratechange: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when the playback rate is increased or decreased. Param: evThe event. MDN Reference onresetonreset: null | ((this: GlobalEventHandlers, ev: Event) => any)Fires when the user resets a form. Param: evThe event. MDN Reference onresizeonresize: null | ((this: GlobalEventHandlers, ev: UIEvent) => any)MDN Reference onscrollonscroll: null | ((this: GlobalEventHandlers, ev: Event) => any)Fires when the user repositions the scroll box in the scroll bar on the object. Param: evThe event. MDN Reference onscrollendonscrollend: null | ((this: GlobalEventHandlers, ev: Event) => any)MDN Reference onsecuritypolicyviolationonsecuritypolicyviolation: null | ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any)MDN Reference onseekedonseeked: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when the seek operation ends. Param: evThe event. MDN Reference onseekingonseeking: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when the current playback position is moved. Param: evThe event. MDN Reference onselectonselect: null | ((this: GlobalEventHandlers, ev: Event) => any)Fires when the current selection changes. Param: evThe event. MDN Reference onselectionchangeonselectionchange: null | ((this: GlobalEventHandlers, ev: Event) => any)MDN Reference onselectstartonselectstart: null | ((this: GlobalEventHandlers, ev: Event) => any)MDN Reference onslotchangeonslotchange: null | ((this: GlobalEventHandlers, ev: Event) => any)MDN Reference onstalledonstalled: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when the download has stopped. Param: evThe event. MDN Reference onsubmitonsubmit: null | ((this: GlobalEventHandlers, ev: SubmitEvent) => any)MDN Reference onsuspendonsuspend: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs if the load operation has been intentionally halted. Param: evThe event. MDN Reference ontimeupdateontimeupdate: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs to indicate the current playback position. Param: evThe event. MDN Reference ontoggleontoggle: null | ((this: GlobalEventHandlers, ev: Event) => any)MDN Reference Optionalontouchcancelontouchcancel?: null | ((this: GlobalEventHandlers, ev: TouchEvent) => any)MDN Reference Optionalontouchendontouchend?: null | ((this: GlobalEventHandlers, ev: TouchEvent) => any)MDN Reference Optionalontouchmoveontouchmove?: null | ((this: GlobalEventHandlers, ev: TouchEvent) => any)MDN Reference Optionalontouchstartontouchstart?: null | ((this: GlobalEventHandlers, ev: TouchEvent) => any)MDN Reference ontransitioncancelontransitioncancel: null | ((this: GlobalEventHandlers, ev: TransitionEvent) => any)MDN Reference ontransitionendontransitionend: null | ((this: GlobalEventHandlers, ev: TransitionEvent) => any)MDN Reference ontransitionrunontransitionrun: null | ((this: GlobalEventHandlers, ev: TransitionEvent) => any)MDN Reference ontransitionstartontransitionstart: null | ((this: GlobalEventHandlers, ev: TransitionEvent) => any)MDN Reference onvolumechangeonvolumechange: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when the volume is changed, or playback is muted or unmuted. Param: evThe event. MDN Reference onwaitingonwaiting: null | ((this: GlobalEventHandlers, ev: Event) => any)Occurs when playback stops because the next frame of a video resource is not available. Param: evThe event. MDN Reference onwebkitanimationendonwebkitanimationend: null | ((this: GlobalEventHandlers, ev: Event) => any)DeprecatedThis is a legacy alias of onanimationend. MDN Reference onwebkitanimationiterationonwebkitanimationiteration: null | ((this: GlobalEventHandlers, ev: Event) => any)DeprecatedThis is a legacy alias of onanimationiteration. MDN Reference onwebkitanimationstartonwebkitanimationstart: null | ((this: GlobalEventHandlers, ev: Event) => any)DeprecatedThis is a legacy alias of onanimationstart. MDN Reference onwebkittransitionendonwebkittransitionend: null | ((this: GlobalEventHandlers, ev: Event) => any)DeprecatedThis is a legacy alias of ontransitionend. MDN Reference onwheelonwheel: null | ((this: GlobalEventHandlers, ev: WheelEvent) => any)MDN Reference outerHTMLouterHTML: stringMDN Reference outerTextouterText: stringMDN Reference ReadonlyownerDocumentownerDocument: DocumentReturns the node document. Returns null for documents. MDN Reference ReadonlyparentElementparentElement: null | HTMLElementReturns the parent element. MDN Reference ReadonlyparentNodeparentNode: null | ParentNodeReturns the parent. MDN Reference Readonlypartpart: DOMTokenListMDN Reference popoverpopover: null | stringMDN Reference Readonlyprefixprefix: null | stringReturns the namespace prefix. MDN Reference ReadonlypreviousElementSiblingpreviousElementSibling: null | ElementReturns the first preceding sibling that is an element, and null otherwise. MDN Reference ReadonlypreviousSiblingpreviousSibling: null | ChildNodeReturns the previous sibling. MDN Reference rolerole: null | stringscrollAmountscrollAmount: numberDeprecatedscrollDelayscrollDelay: numberDeprecatedReadonlyscrollHeightscrollHeight: numberMDN Reference scrollLeftscrollLeft: numberMDN Reference scrollTopscrollTop: numberMDN Reference ReadonlyscrollWidthscrollWidth: numberMDN Reference ReadonlyshadowRootshadowRoot: null | ShadowRootReturns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. MDN Reference slotslot: stringReturns the value of element's slot content attribute. Can be set to change it. MDN Reference spellcheckspellcheck: booleanMDN Reference Readonlystylestyle: CSSStyleDeclarationMDN Reference tabIndextabIndex: numberMDN Reference ReadonlytagNametagName: stringReturns the HTML-uppercased qualified name. MDN Reference textContenttextContent: null | stringMDN Reference titletitle: stringMDN Reference translatetranslate: booleanMDN Reference trueSpeedtrueSpeed: booleanDeprecatedvspacevspace: numberDeprecatedwidthwidth: stringDeprecated MethodsaddEventListeneraddEventListener<K>(type, listener, options?): voidAppends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. MDN Reference Type ParametersK extends keyof HTMLElementEventMapParameterstype: Klistener: ((this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any)(this, ev): anyParametersthis: HTMLMarqueeElementev: HTMLElementEventMap[K]Returns anyOptionaloptions: boolean | AddEventListenerOptionsReturns voidaddEventListener(type, listener, options?): voidAppends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. MDN Reference Parameterstype: stringlistener: EventListenerOrEventListenerObjectOptionaloptions: boolean | AddEventListenerOptionsReturns voidafterafter(...nodes): voidInserts nodes just after node, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. MDN Reference ParametersRest...nodes: (string | Node)[]Returns voidanimateanimate(keyframes, options?): AnimationMDN Reference Parameterskeyframes: null | PropertyIndexedKeyframes | Keyframe[]Optionaloptions: number | KeyframeAnimationOptionsReturns Animationappendappend(...nodes): voidInserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. MDN Reference ParametersRest...nodes: (string | Node)[]Returns voidappendChildappendChild<T>(node): TMDN Reference Type ParametersT extends NodeParametersnode: TReturns TattachInternalsattachInternals(): ElementInternalsMDN Reference Returns ElementInternalsattachShadowattachShadow(init): ShadowRootCreates a shadow root for element and returns it. MDN Reference Parametersinit: ShadowRootInitReturns ShadowRootbeforebefore(...nodes): voidInserts nodes just before node, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. MDN Reference ParametersRest...nodes: (string | Node)[]Returns voidblurblur(): voidMDN Reference Returns voidcheckVisibilitycheckVisibility(options?): booleanMDN Reference ParametersOptionaloptions: CheckVisibilityOptionsReturns booleanclickclick(): voidMDN Reference Returns voidcloneNodecloneNode(deep?): NodeReturns a copy of node. If deep is true, the copy also includes the node's descendants. MDN Reference ParametersOptionaldeep: booleanReturns Nodeclosestclosest<K>(selector): null | HTMLElementTagNameMap[K]Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. MDN Reference Type ParametersK extends keyof HTMLElementTagNameMapParametersselector: KReturns null | HTMLElementTagNameMap[K]closest<K>(selector): null | SVGElementTagNameMap[K]Type ParametersK extends keyof SVGElementTagNameMapParametersselector: KReturns null | SVGElementTagNameMap[K]closest<K>(selector): null | MathMLElementTagNameMap[K]Type ParametersK extends keyof MathMLElementTagNameMapParametersselector: KReturns null | MathMLElementTagNameMap[K]closest<E>(selectors): null | EType ParametersE extends Element = ElementParametersselectors: stringReturns null | EcompareDocumentPositioncompareDocumentPosition(other): numberReturns a bitmask indicating the position of other relative to node. MDN Reference Parametersother: NodeReturns numbercomputedStyleMapcomputedStyleMap(): StylePropertyMapReadOnlyMDN Reference Returns StylePropertyMapReadOnlycontainscontains(other): booleanReturns true if other is an inclusive descendant of node, and false otherwise. MDN Reference Parametersother: null | NodeReturns booleandispatchEventdispatchEvent(event): booleanDispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. MDN Reference Parametersevent: EventReturns booleanfocusfocus(options?): voidMDN Reference ParametersOptionaloptions: FocusOptionsReturns voidgetAnimationsgetAnimations(options?): Animation[]MDN Reference ParametersOptionaloptions: GetAnimationsOptionsReturns Animation[]getAttributegetAttribute(qualifiedName): null | stringReturns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. MDN Reference ParametersqualifiedName: stringReturns null | stringgetAttributeNSgetAttributeNS(namespace, localName): null | stringReturns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. MDN Reference Parametersnamespace: null | stringlocalName: stringReturns null | stringgetAttributeNamesgetAttributeNames(): string[]Returns the qualified names of all element's attributes. Can contain duplicates. MDN Reference Returns string[]getAttributeNodegetAttributeNode(qualifiedName): null | AttrMDN Reference ParametersqualifiedName: stringReturns null | AttrgetAttributeNodeNSgetAttributeNodeNS(namespace, localName): null | AttrMDN Reference Parametersnamespace: null | stringlocalName: stringReturns null | AttrgetBoundingClientRectgetBoundingClientRect(): DOMRectMDN Reference Returns DOMRectgetClientRectsgetClientRects(): DOMRectListMDN Reference Returns DOMRectListgetElementsByClassNamegetElementsByClassName(classNames): HTMLCollectionOf<Element>Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. MDN Reference ParametersclassNames: stringReturns HTMLCollectionOf<Element>getElementsByTagNamegetElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementTagNameMap[K]>MDN Reference Type ParametersK extends keyof HTMLElementTagNameMapParametersqualifiedName: KReturns HTMLCollectionOf<HTMLElementTagNameMap[K]>getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<SVGElementTagNameMap[K]>Type ParametersK extends keyof SVGElementTagNameMapParametersqualifiedName: KReturns HTMLCollectionOf<SVGElementTagNameMap[K]>getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<MathMLElementTagNameMap[K]>Type ParametersK extends keyof MathMLElementTagNameMapParametersqualifiedName: KReturns HTMLCollectionOf<MathMLElementTagNameMap[K]>getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>Type ParametersK extends keyof HTMLElementDeprecatedTagNameMapParametersqualifiedName: KReturns HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>DeprecatedgetElementsByTagName(qualifiedName): HTMLCollectionOf<Element>ParametersqualifiedName: stringReturns HTMLCollectionOf<Element>getElementsByTagNameNSgetElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<HTMLElement>MDN Reference ParametersnamespaceURI: "http://www.w3.org/1999/xhtml"localName: stringReturns HTMLCollectionOf<HTMLElement>getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<SVGElement>ParametersnamespaceURI: "http://www.w3.org/2000/svg"localName: stringReturns HTMLCollectionOf<SVGElement>getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<MathMLElement>ParametersnamespaceURI: "http://www.w3.org/1998/Math/MathML"localName: stringReturns HTMLCollectionOf<MathMLElement>getElementsByTagNameNS(namespace, localName): HTMLCollectionOf<Element>Parametersnamespace: null | stringlocalName: stringReturns HTMLCollectionOf<Element>getRootNodegetRootNode(options?): NodeReturns node's root. MDN Reference ParametersOptionaloptions: GetRootNodeOptionsReturns NodehasAttributehasAttribute(qualifiedName): booleanReturns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. MDN Reference ParametersqualifiedName: stringReturns booleanhasAttributeNShasAttributeNS(namespace, localName): booleanReturns true if element has an attribute whose namespace is namespace and local name is localName. MDN Reference Parametersnamespace: null | stringlocalName: stringReturns booleanhasAttributeshasAttributes(): booleanReturns true if element has attributes, and false otherwise. MDN Reference Returns booleanhasChildNodeshasChildNodes(): booleanReturns whether node has children. MDN Reference Returns booleanhasPointerCapturehasPointerCapture(pointerId): booleanMDN Reference ParameterspointerId: numberReturns booleanhidePopoverhidePopover(): voidMDN Reference Returns voidinsertAdjacentElementinsertAdjacentElement(where, element): null | ElementMDN Reference Parameterswhere: InsertPositionelement: ElementReturns null | ElementinsertAdjacentHTMLinsertAdjacentHTML(position, text): voidMDN Reference Parametersposition: InsertPositiontext: stringReturns voidinsertAdjacentTextinsertAdjacentText(where, data): voidMDN Reference Parameterswhere: InsertPositiondata: stringReturns voidinsertBeforeinsertBefore<T>(node, child): TMDN Reference Type ParametersT extends NodeParametersnode: Tchild: null | NodeReturns TisDefaultNamespaceisDefaultNamespace(namespace): booleanMDN Reference Parametersnamespace: null | stringReturns booleanisEqualNodeisEqualNode(otherNode): booleanReturns whether node and otherNode have the same properties. MDN Reference ParametersotherNode: null | NodeReturns booleanisSameNodeisSameNode(otherNode): booleanMDN Reference ParametersotherNode: null | NodeReturns booleanlookupNamespaceURIlookupNamespaceURI(prefix): null | stringMDN Reference Parametersprefix: null | stringReturns null | stringlookupPrefixlookupPrefix(namespace): null | stringMDN Reference Parametersnamespace: null | stringReturns null | stringmatchesmatches(selectors): booleanReturns true if matching selectors against element's root yields element, and false otherwise. MDN Reference Parametersselectors: stringReturns booleannormalizenormalize(): voidRemoves empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes. MDN Reference Returns voidprependprepend(...nodes): voidInserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. MDN Reference ParametersRest...nodes: (string | Node)[]Returns voidquerySelectorquerySelector<K>(selectors): null | HTMLElementTagNameMap[K]Returns the first element that is a descendant of node that matches selectors. MDN Reference Type ParametersK extends keyof HTMLElementTagNameMapParametersselectors: KReturns null | HTMLElementTagNameMap[K]querySelector<K>(selectors): null | SVGElementTagNameMap[K]Type ParametersK extends keyof SVGElementTagNameMapParametersselectors: KReturns null | SVGElementTagNameMap[K]querySelector<K>(selectors): null | MathMLElementTagNameMap[K]Type ParametersK extends keyof MathMLElementTagNameMapParametersselectors: KReturns null | MathMLElementTagNameMap[K]querySelector<K>(selectors): null | HTMLElementDeprecatedTagNameMap[K]Type ParametersK extends keyof HTMLElementDeprecatedTagNameMapParametersselectors: KReturns null | HTMLElementDeprecatedTagNameMap[K]DeprecatedquerySelector<E>(selectors): null | EType ParametersE extends Element = ElementParametersselectors: stringReturns null | EquerySelectorAllquerySelectorAll<K>(selectors): NodeListOf<HTMLElementTagNameMap[K]>Returns all element descendants of node that match selectors. MDN Reference Type ParametersK extends keyof HTMLElementTagNameMapParametersselectors: KReturns NodeListOf<HTMLElementTagNameMap[K]>querySelectorAll<K>(selectors): NodeListOf<SVGElementTagNameMap[K]>Type ParametersK extends keyof SVGElementTagNameMapParametersselectors: KReturns NodeListOf<SVGElementTagNameMap[K]>querySelectorAll<K>(selectors): NodeListOf<MathMLElementTagNameMap[K]>Type ParametersK extends keyof MathMLElementTagNameMapParametersselectors: KReturns NodeListOf<MathMLElementTagNameMap[K]>querySelectorAll<K>(selectors): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>Type ParametersK extends keyof HTMLElementDeprecatedTagNameMapParametersselectors: KReturns NodeListOf<HTMLElementDeprecatedTagNameMap[K]>DeprecatedquerySelectorAll<E>(selectors): NodeListOf<E>Type ParametersE extends Element = ElementParametersselectors: stringReturns NodeListOf<E>releasePointerCapturereleasePointerCapture(pointerId): voidMDN Reference ParameterspointerId: numberReturns voidremoveremove(): voidRemoves node. MDN Reference Returns voidremoveAttributeremoveAttribute(qualifiedName): voidRemoves element's first attribute whose qualified name is qualifiedName. MDN Reference ParametersqualifiedName: stringReturns voidremoveAttributeNSremoveAttributeNS(namespace, localName): voidRemoves element's attribute whose namespace is namespace and local name is localName. MDN Reference Parametersnamespace: null | stringlocalName: stringReturns voidremoveAttributeNoderemoveAttributeNode(attr): AttrMDN Reference Parametersattr: AttrReturns AttrremoveChildremoveChild<T>(child): TMDN Reference Type ParametersT extends NodeParameterschild: TReturns TremoveEventListenerremoveEventListener<K>(type, listener, options?): voidRemoves the event listener in target's event listener list with the same type, callback, and options. MDN Reference Type ParametersK extends keyof HTMLElementEventMapParameterstype: Klistener: ((this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any)(this, ev): anyParametersthis: HTMLMarqueeElementev: HTMLElementEventMap[K]Returns anyOptionaloptions: boolean | EventListenerOptionsReturns voidremoveEventListener(type, listener, options?): voidRemoves the event listener in target's event listener list with the same type, callback, and options. MDN Reference Parameterstype: stringlistener: EventListenerOrEventListenerObjectOptionaloptions: boolean | EventListenerOptionsReturns voidreplaceChildreplaceChild<T>(node, child): TMDN Reference Type ParametersT extends NodeParametersnode: Nodechild: TReturns TreplaceChildrenreplaceChildren(...nodes): voidReplace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. MDN Reference ParametersRest...nodes: (string | Node)[]Returns voidreplaceWithreplaceWith(...nodes): voidReplaces node with nodes, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. MDN Reference ParametersRest...nodes: (string | Node)[]Returns voidrequestFullscreenrequestFullscreen(options?): Promise<void>Displays element fullscreen and resolves promise when done. When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference. MDN Reference ParametersOptionaloptions: FullscreenOptionsReturns Promise<void>requestPointerLockrequestPointerLock(): voidMDN Reference Returns voidscrollscroll(options?): voidMDN Reference ParametersOptionaloptions: ScrollToOptionsReturns voidscroll(x, y): voidParametersx: numbery: numberReturns voidscrollByscrollBy(options?): voidMDN Reference ParametersOptionaloptions: ScrollToOptionsReturns voidscrollBy(x, y): voidParametersx: numbery: numberReturns voidscrollIntoViewscrollIntoView(arg?): voidMDN Reference ParametersOptionalarg: boolean | ScrollIntoViewOptionsReturns voidscrollToscrollTo(options?): voidMDN Reference ParametersOptionaloptions: ScrollToOptionsReturns voidscrollTo(x, y): voidParametersx: numbery: numberReturns voidsetAttributesetAttribute(qualifiedName, value): voidSets the value of element's first attribute whose qualified name is qualifiedName to value. MDN Reference ParametersqualifiedName: stringvalue: stringReturns voidsetAttributeNSsetAttributeNS(namespace, qualifiedName, value): voidSets the value of element's attribute whose namespace is namespace and local name is localName to value. MDN Reference Parametersnamespace: null | stringqualifiedName: stringvalue: stringReturns voidsetAttributeNodesetAttributeNode(attr): null | AttrMDN Reference Parametersattr: AttrReturns null | AttrsetAttributeNodeNSsetAttributeNodeNS(attr): null | AttrMDN Reference Parametersattr: AttrReturns null | AttrsetHTMLUnsafesetHTMLUnsafe(html): voidParametershtml: stringReturns voidsetPointerCapturesetPointerCapture(pointerId): voidMDN Reference ParameterspointerId: numberReturns voidshowPopovershowPopover(): voidMDN Reference Returns voidstartstart(): voidReturns voidDeprecatedstopstop(): voidReturns voidDeprecatedtoggleAttributetoggleAttribute(qualifiedName, force?): booleanIf force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName. Returns true if qualifiedName is now present, and false otherwise. MDN Reference ParametersqualifiedName: stringOptionalforce: booleanReturns booleantogglePopovertogglePopover(force?): booleanMDN Reference ParametersOptionalforce: booleanReturns booleanwebkitMatchesSelectorwebkitMatchesSelector(selectors): booleanParametersselectors: stringReturns booleanDeprecatedThis is a legacy alias of matches. MDN Reference SettingsMember VisibilityProtectedInheritedExternalThemeOSLightDarkOn This PagePropertiesATTRIBUTE_NODECDATA_SECTION_NODECOMMENT_NODEDOCUMENT_FRAGMENT_NODEDOCUMENT_NODEDOCUMENT_POSITION_CONTAINED_BYDOCUMENT_POSITION_CONTAINSDOCUMENT_POSITION_DISCONNECTEDDOCUMENT_POSITION_FOLLOWINGDOCUMENT_POSITION_IMPLEMENTATION_SPECIFICDOCUMENT_POSITION_PRECEDINGDOCUMENT_TYPE_NODEELEMENT_NODEENTITY_NODEENTITY_REFERENCE_NODENOTATION_NODEPROCESSING_INSTRUCTION_NODETEXT_NODEaccessKeyaccessKeyLabelariaAtomicariaAutoCompleteariaBrailleLabelariaBrailleRoleDescriptionariaBusyariaCheckedariaColCountariaColIndexariaColSpanariaCurrentariaDescriptionariaDisabledariaExpandedariaHasPopupariaHiddenariaInvalidariaKeyShortcutsariaLabelariaLevelariaLiveariaModalariaMultiLineariaMultiSelectableariaOrientationariaPlaceholderariaPosInSetariaPressedariaReadOnlyariaRequiredariaRoleDescriptionariaRowCountariaRowIndexariaRowSpanariaSelectedariaSetSizeariaSortariaValueMaxariaValueMinariaValueNowariaValueTextassignedSlotattributeStyleMapattributesautocapitalizeautofocusbaseURIbehaviorbgColorchildElementCountchildNodeschildrenclassListclassNameclientHeightclientLeftclientTopclientWidthcontentEditabledatasetdirdirectiondraggableenterKeyHintfirstChildfirstElementChildheighthiddenhspaceidinertinnerHTMLinnerTextinputModeisConnectedisContentEditablelanglastChildlastElementChildlocalNameloopnamespaceURInextElementSiblingnextSiblingnodeNamenodeTypenodeValuenonceoffsetHeightoffsetLeftoffsetParentoffsetTopoffsetWidthonabortonanimationcancelonanimationendonanimationiterationonanimationstartonauxclickonbeforeinputonbeforetoggleonbluroncanceloncanplayoncanplaythroughonchangeonclickoncloseoncontextmenuoncopyoncuechangeoncutondblclickondragondragendondragenterondragleaveondragoverondragstartondropondurationchangeonemptiedonendedonerroronfocusonformdataonfullscreenchangeonfullscreenerrorongotpointercaptureoninputoninvalidonkeydownonkeypressonkeyuponloadonloadeddataonloadedmetadataonloadstartonlostpointercaptureonmousedownonmouseenteronmouseleaveonmousemoveonmouseoutonmouseoveronmouseuponpasteonpauseonplayonplayingonpointercancelonpointerdownonpointerenteronpointerleaveonpointermoveonpointeroutonpointeroveronpointeruponprogressonratechangeonresetonresizeonscrollonscrollendonsecuritypolicyviolationonseekedonseekingonselectonselectionchangeonselectstartonslotchangeonstalledonsubmitonsuspendontimeupdateontoggleontouchcancelontouchendontouchmoveontouchstartontransitioncancelontransitionendontransitionrunontransitionstartonvolumechangeonwaitingonwebkitanimationendonwebkitanimationiterationonwebkitanimationstartonwebkittransitionendonwheelouterHTMLouterTextownerDocumentparentElementparentNodepartpopoverprefixpreviousElementSiblingpreviousSiblingrolescrollAmountscrollDelayscrollHeightscrollLeftscrollTopscrollWidthshadowRootslotspellcheckstyletabIndextagNametextContenttitletranslatetrueSpeedvspacewidthMethodsaddEventListenerafteranimateappendappendChildattachInternalsattachShadowbeforeblurcheckVisibilityclickcloneNodeclosestcompareDocumentPositioncomputedStyleMapcontainsdispatchEventfocusgetAnimationsgetAttributegetAttributeNSgetAttributeNamesgetAttributeNodegetAttributeNodeNSgetBoundingClientRectgetClientRectsgetElementsByClassNamegetElementsByTagNamegetElementsByTagNameNSgetRootNodehasAttributehasAttributeNShasAttributeshasChildNodeshasPointerCapturehidePopoverinsertAdjacentElementinsertAdjacentHTMLinsertAdjacentTextinsertBeforeisDefaultNamespaceisEqualNodeisSameNodelookupNamespaceURIlookupPrefixmatchesnormalizeprependquerySelectorquerySelectorAllreleasePointerCaptureremoveremoveAttributeremoveAttributeNSremoveAttributeNoderemoveChildremoveEventListenerreplaceChildreplaceChildrenreplaceWithrequestFullscreenrequestPointerLockscrollscrollByscrollIntoViewscrollTosetAttributesetAttributeNSsetAttributeNodesetAttributeNodeNSsetHTMLUnsafesetPointerCaptureshowPopoverstartstoptoggleAttributetogglePopoverwebkitMatchesSelectormelonjsLoading...
MDN Reference
Readonly
node is a CDATASection node.
node is a Comment node.
node is a DocumentFragment node.
node is a document.
Set when other is a descendant of node.
Set when other is an ancestor of node.
Set when node and other are not in the same tree.
Set when other is following node.
Set when other is preceding node.
node is a doctype.
node is an element.
node is a ProcessingInstruction node.
node is a Text node.
Returns node's node document's document base URL.
Returns the children.
Returns the child elements.
Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
Returns the value of element's class content attribute. Can be set to change it.
Returns the first child.
Returns the first child that is an element, and null otherwise.
Returns the value of element's id content attribute. Can be set to change it.
Returns true if node is connected and false otherwise.
Returns the last child.
Returns the last child that is an element, and null otherwise.
Returns the local name.
Returns the namespace.
Returns the first following sibling that is an element, and null otherwise.
Returns the next sibling.
Returns a string appropriate for the type of node.
Returns the type of node.
Optional
Fires when the user aborts the download.
The event.
Fires when the object loses the input focus.
The focus event.
Occurs when playback is possible, but would require further buffering.
Fires when the contents of the object or selection have changed.
Fires when the user clicks the left mouse button on the object
The mouse event.
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Fires when the user double-clicks the object.
Fires on the source object continuously during a drag operation.
Fires on the source object when the user releases the mouse at the close of a drag operation.
Fires on the target element when the user drags the object to a valid drop target.
The drag event.
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
Fires on the target element continuously while the user drags the object over a valid drop target.
Fires on the source object when the user starts to drag a text selection or selected object.
Occurs when the duration attribute is updated.
Occurs when the media element is reset to its initial state.
Occurs when the end of playback is reached.
The event
Fires when an error occurs during object loading.
Fires when the object receives focus.
Fires when the user presses a key.
The keyboard event
Fires when the user presses an alphanumeric key.
Fires when the user releases a key.
Fires immediately after the browser loads the object.
Occurs when media data is loaded at the current playback position.
Occurs when the duration and dimensions of the media have been determined.
Occurs when Internet Explorer begins looking for media data.
Fires when the user clicks the object with either mouse button.
Fires when the user moves the mouse over the object.
Fires when the user moves the mouse pointer outside the boundaries of the object.
Fires when the user moves the mouse pointer into the object.
Fires when the user releases a mouse button while the mouse is over the object.
Occurs when playback is paused.
Occurs when the play method is requested.
Occurs when the audio or video has started playing.
Occurs to indicate progress while downloading media data.
Occurs when the playback rate is increased or decreased.
Fires when the user resets a form.
Fires when the user repositions the scroll box in the scroll bar on the object.
Occurs when the seek operation ends.
Occurs when the current playback position is moved.
Fires when the current selection changes.
Occurs when the download has stopped.
Occurs if the load operation has been intentionally halted.
Occurs to indicate the current playback position.
Occurs when the volume is changed, or playback is muted or unmuted.
Occurs when playback stops because the next frame of a video resource is not available.
This is a legacy alias of onanimationend.
onanimationend
This is a legacy alias of onanimationiteration.
onanimationiteration
This is a legacy alias of onanimationstart.
onanimationstart
This is a legacy alias of ontransitionend.
ontransitionend
Returns the node document. Returns null for documents.
Returns the parent element.
Returns the parent.
Returns the namespace prefix.
Returns the first preceding sibling that is an element, and null otherwise.
Returns the previous sibling.
Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
Returns the value of element's slot content attribute. Can be set to change it.
Returns the HTML-uppercased qualified name.
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
Rest
Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.
Creates a shadow root for element and returns it.
Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
Returns a copy of node. If deep is true, the copy also includes the node's descendants.
Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
Returns a bitmask indicating the position of other relative to node.
Returns true if other is an inclusive descendant of node, and false otherwise.
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.
Returns the qualified names of all element's attributes. Can contain duplicates.
Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.
Returns node's root.
Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
Returns true if element has an attribute whose namespace is namespace and local name is localName.
Returns true if element has attributes, and false otherwise.
Returns whether node has children.
Returns whether node and otherNode have the same properties.
Returns true if matching selectors against element's root yields element, and false otherwise.
Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
Returns the first element that is a descendant of node that matches selectors.
Returns all element descendants of node that match selectors.
Removes node.
Removes element's first attribute whose qualified name is qualifiedName.
Removes element's attribute whose namespace is namespace and local name is localName.
Removes the event listener in target's event listener list with the same type, callback, and options.
Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.
Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.
Displays element fullscreen and resolves promise when done.
When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.
Sets the value of element's first attribute whose qualified name is qualifiedName to value.
Sets the value of element's attribute whose namespace is namespace and local name is localName to value.
If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.
Returns true if qualifiedName is now present, and false otherwise.
This is a legacy alias of matches.
matches
Provides methods to manipulate