slot

The slot HTML element defines a placeholder.

Syntax

HTML

<slot attribute-name="attribute-value"></slot>

Attributes

Global

Name Value Description
name string name of slot

Examples

name

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu