YouTip LogoYouTip

Prop Element Style

## HTML DOM Element `style` Property The `style` property of the HTML DOM Element interface is used to get or set the inline style of an element. It returns a `CSSStyleDeclaration` object, which represents the element's inline `style` attribute. --- ## Definition and Usage * The `style` property returns a **`CSSStyleDeclaration`** object. * This object contains all the inline CSS properties defined directly on the element (e.g., `
`). * **Note:** The `style` property does **not** include styles defined in external stylesheets (via ``) or internal stylesheets (via `