Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> <user-card> #shadow-root <div> Name: <slot name="username"></slot> </div> <div> Id: <slot name="id"></slot> </div> <span slot="username">Jack Brown </span> <span slot="id">1125</span> </user-card> </body> </html>