Components with the same name as HTML components #3125
-
What is the recommendation for components with the same name as HTML components? I'm creating a UI library and I'm able to create components with the same name as HTML components (example |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
From MDN:
https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements So I don't think this is an issue with custom element tag names. |
Beta Was this translation helpful? Give feedback.
-
The answer is no. Custom elements are not HTML5 default elements, what you can do is increment these standard elements with logic and stylization, but they remained standard elements. |
Beta Was this translation helpful? Give feedback.
The answer is no. Custom elements are not HTML5 default elements, what you can do is increment these standard elements with logic and stylization, but they remained standard elements.