mdn slotThe slot property of the Element interface returns the name of the shadow DOM slot the element is insertedThe slot> tag is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together. Use the template>