--- sidebar_label: Frame.addStyleTag --- # Frame.addStyleTag() method Adds a `HTMLStyleElement` into the frame with the desired URL #### Signature: ```typescript class Frame { addStyleTag( options: Omit<FrameAddStyleTagOptions, 'url'> ): Promise<ElementHandle<HTMLStyleElement>>; } ``` ## Parameters | Parameter | Type | Description | | --------- | ------------------------------------------------------------------------------------ | ----------- | | options | Omit<[FrameAddStyleTagOptions](./puppeteer.frameaddstyletagoptions.md), 'url'> | | **Returns:** Promise<[ElementHandle](./puppeteer.elementhandle.md)<HTMLStyleElement>> An [element handle](./puppeteer.elementhandle.md) to the loaded `<style>` element.