How do i go about creating a custom HTML element that acts like a link with out using inline Javascript
For example:
<x-button href="...">...<x-button>
Is it possible to create an element like <x-button>
that will take an attribute such as href
the same way an a
element would?