Skip to content
HTML.ONE
Home HTML Elements

HTML <slot> Element

Defines a placeholder for light-DOM content inside a shadow tree.

Example

<template shadowrootmode="open"><slot></slot></template>

Further reference

HTML Living Standard