HTMLHeadElement

Extends: HTMLElement

See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadElement

new HTMLHeadElement(document, nodeName, namespaceURI)

Creates an instance of HTMLHeadElement.

Param Type
document *
nodeName *
namespaceURI *

htmlHeadElement.dataset

Access to all the custom data attributes (data-*) set.

See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset

htmlHeadElement.nodeName : string

Read only

htmlHeadElement.localName : string

Read only

htmlHeadElement.tagName : string

Read only

htmlHeadElement.nodeType : number

Read only

htmlHeadElement.namespaceURI : string

Read only

htmlHeadElement.id : string

htmlHeadElement.tabIndex : number

htmlHeadElement.className : string

htmlHeadElement.attributes : NamedNodeMap

Read only

htmlHeadElement.style : Style

Read only

htmlHeadElement.clientLeft : number

Read only

htmlHeadElement.clientTop : number

Read only

htmlHeadElement.clientWidth : number

Read only

htmlHeadElement.clientHeight : number

Read only

htmlHeadElement.height : string or Number

The height of the element

htmlHeadElement.width : string or Number

The width of the element

htmlHeadElement.offsetParent : Element

Read only

htmlHeadElement.offsetLeft : number

Read only

htmlHeadElement.offsetTop : number

Read only

htmlHeadElement.offsetWidth : number

Read only

htmlHeadElement.offsetHeight : number

Read only

htmlHeadElement.scrollLeft : number

htmlHeadElement.scrollTop : number

htmlHeadElement.scrollWidth : number

Read only

htmlHeadElement.scrollHeight : number

Read only

htmlHeadElement.uxpContainer : UXPContainer

Read only

htmlHeadElement.disabled : boolean

htmlHeadElement.innerHTML : string

htmlHeadElement.outerHTML : string

htmlHeadElement.contentEditable

Read only

htmlHeadElement.isConnected : boolean

Read only

htmlHeadElement.parentNode : Node

Read only

htmlHeadElement.parentElement : Element

Read only

htmlHeadElement.firstChild : Node

Read only

htmlHeadElement.lastChild : Node

Read only

htmlHeadElement.previousSibling : Node

Read only

htmlHeadElement.nextSibling : Node

Read only

htmlHeadElement.firstElementChild : Node

Read only

htmlHeadElement.lastElementChild : Node

Read only

htmlHeadElement.previousElementSibling : Node

Read only

htmlHeadElement.nextElementSibling : Node

Read only

htmlHeadElement.textContent : string

htmlHeadElement.childNodes : NodeList

Read only

htmlHeadElement.children : HTMLCollection

Read only

htmlHeadElement.ownerDocument

Read only

htmlHeadElement.scrollIntoView()

htmlHeadElement.scrollIntoViewIfNeeded()

htmlHeadElement.focus()

htmlHeadElement.blur()

htmlHeadElement.getAttribute(name)

Param Type
name string

htmlHeadElement.setAttribute(name, value)

Param Type
name string
value string

htmlHeadElement.removeAttribute(name)

Param Type
name string

htmlHeadElement.hasAttribute(name)

Param Type
name string

htmlHeadElement.getAttributeNode(name)

Param Type
name string

htmlHeadElement.setAttributeNode(newAttr)

Param Type
newAttr *

htmlHeadElement.removeAttributeNode(oldAttr)

Param Type
oldAttr *

htmlHeadElement.click()

htmlHeadElement.getElementsByClassName(name)

Param Type
name string

htmlHeadElement.getElementsByTagName(name)

Param Type
name string

htmlHeadElement.querySelector(selector)

Param Type
selector string

htmlHeadElement.querySelectorAll(selector)

Param Type
selector string

htmlHeadElement.getBoundingClientRect()

htmlHeadElement.insertAdjacentHTML(position, value)

Param Type
position
value string

htmlHeadElement.insertAdjacentElement(position, node)

Param Type
position *
node *

htmlHeadElement.insertAdjacentText(position, text)

Param Type
position *
text *

htmlHeadElement.hasChildNodes()

htmlHeadElement.cloneNode(deep)

Param Type
deep boolean

htmlHeadElement.appendChild(child)

Param Type
child Node

htmlHeadElement.insertBefore(child, before)

Param Type
child Node
before Node

htmlHeadElement.replaceChild(newChild, oldChild)

Param Type
newChild Node
oldChild Node

htmlHeadElement.removeChild(child)

Param Type
child Node

htmlHeadElement.remove()

htmlHeadElement.before(...nodes)

Param Type
...nodes Array.<Node>

htmlHeadElement.after(...nodes)

Param Type
...nodes Array.<Node>

htmlHeadElement.replaceWith(...nodes)

Param Type
...nodes Array.<Node>

htmlHeadElement.contains(node)

Param Type
node Node

htmlHeadElement.addEventListener(eventName, callback, [capture])

Param Type Default
eventName *
callback *
[capture] boolean false

htmlHeadElement.removeEventListener(eventName, callback, [capture])

Param Type Default
eventName *
callback *
[capture] boolean false

htmlHeadElement.dispatchEvent(event)

Param Type
event *

results matching ""

    No results matching ""