Is there a way to create an empty link in D8? What I want specifically is

    <a href="javascript:void(0)">Link</a>

`Url::fromUserInput('#', ['fragment' => '#'])` creates an anchor tag with `##` link.

Thanks