files/en-us/web/api/htmlstyleelement/index.md
{{APIRef("HTML DOM")}}
The HTMLStyleElement interface represents a {{HTMLElement("style")}} element. It inherits properties and methods from its parent, {{domxref("HTMLElement")}}.
This interface doesn't allow to manipulate the CSS it contains (in most case). To manipulate CSS, see Using dynamic styling information for an overview of the objects used to manipulate specified CSS properties using the DOM.
{{InheritanceDiagram}}
Inherits properties from its parent, {{domxref("HTMLElement")}}.
blocking attribute of the {{HTMLElement("style")}} element.null if there is none.No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}.
{{Specifications}}
{{Compat}}