Complete the code to show fallback content inside a slot when no content is passed.
<slot>[1]</slot>The text inside the <slot> tags is the fallback content shown when no content is passed to the slot.
Complete the code to provide fallback content for a named slot called 'header'.
<slot name="header">[1]</slot>
The fallback content for a named slot is placed inside the <slot name="header"> tags. Here, a header element is used as fallback.
Fix the error in the fallback content syntax inside the slot.
<slot>[1]</slot>The fallback content must be valid HTML. The <p> tag must be properly opened and closed inside the slot.
Fill both blanks to create a named slot 'footer' with fallback text 'Default footer'.
<slot [1]="footer">[2]</slot>
The attribute 'name' defines the slot's name. The fallback text goes inside the slot tags.
Fill all three blanks to create a slot with fallback content that includes a paragraph and a strong tag.
<slot>[1]<strong>[2]</strong>[3]</slot>
The fallback content uses a paragraph tag wrapping text and a strong tag for emphasis.