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> HTML element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate