In HTML, a slot is a container element for data that is not itself data. It is part of the Web Components technology suite. A slot has global attributes and a name attribute. As such, it is a useful tool for separating the DOM tree into multiple components. A slot with a name attribute is referred to as a named slot.