I want to create a custom HTML element that behaves exactly like the built-in <div> element. I'm trying to prevent a <div> soup. I would for example want to have a <currency-list> element. This element should behave exactly like the <div> element. The only difference is the name. How can I achieve this?
Thanks, Yosemite


<div>?<main></main>or<article></article>and yes they do help organize your code and also help with SEO. Have a look here w3schools.com/html/html5_semantic_elements.asp