The HTMLStyleElement
interface represents a <style>
element. It inherits properties and methods from its parent, 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.