AgileEngine Interview Question

How we can create a component extending from an HTML element?