What is a Slot?


The HTML slot element is one of the Web Components technology suite. It allows for the creation of separate DOM trees for different elements. Slots can have global attributes and name attributes. The name attribute is used to identify a slot. A slot can be used to declare a data table or other resource in a document.