CodeZettaInterview Hub

HTML · APIs · Senior · Concept

What are custom elements in relation to HTML?

Short Interview Answer

Define new HTML tags via Custom Elements API with lifecycle callbacks.

Detailed Explanation

Need hyphenated names. Shadow DOM optional for encapsulation. Progressive enhancement mindset helps.

Did you know this answer?