mdn slotWe'll discuss using the template> and slot> elements, the slot attribute, and JavaScript to create a template with an encapsulated Shadow DOM. We'll then re-useThe 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>