files/en-us/web/api/htmlelement/index.md
{{APIRef("HTML DOM")}}
The HTMLElement interface represents any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it.
{{InheritanceDiagram}}
Also inherits properties from its parent, {{DOMxRef("Element")}}.
null if it doesn't have one.style attribute.none, off, on, characters, words, sentences.autofocus HTML global attribute, which indicates whether the control should be focused when the page loads, or when dialog or popover become shown if specified in an element inside {{htmlelement("dialog")}} elements or elements whose popover attribute is set.autocorrect HTML global attribute.true means the element is editable and a value of false means it isn't.data-*).dir global attribute, representing the directionality of the element. Possible values are "ltr", "rtl", and "auto".null if there isn't one.hidden attribute.inputmode attribute.double containing the height of an element, relative to the layout.double, the distance from this element's left border to its offsetParent's left border.double, the distance from this element's top border to its offsetParent's top border.double containing the width of an element, relative to the layout."auto", "hint", or "manual"), and can be used for feature detection. Reflects the value of the popover global HTML attribute.style attribute.long representing the position of the element in the tabbing order.contenteditable attribute set).Also inherits methods from its parent, {{DOMxRef("Element")}}.
display: none.display: none; from its styles.Listen to these events using {{domxref("EventTarget.addEventListener", "addEventListener()")}} or by assigning an event listener to the oneventname property of this interface.
Also, inherits events from its parent, {{DOMxRef("Element")}}.
value of an {{HTMLElement("input")}}, {{HTMLElement("select")}}, or {{HTMLElement("textarea")}} element has been changed and committed by the user. Unlike the {{domxref("Element/input_event", "input")}} event, the change event is not necessarily fired for each alteration to an element's value.{{Specifications}}
{{Compat}}