How to get Icons on button

Viewed 39

So I have

<a type="button" class="btn mt-2 btn-dark" href="https://www.youtube.com/channel/UCzbk3N8EvWBRUKA7Kcdp5zg" target="_blank"><i class="fab fa-youtube"></i>  YouTube</a>

^ Button Works Great. Output: https://cdn.apilol.pics/‍​⁠‍‍‍​‌​​​‍​‍⁠​⁠⁠‍​⁠‌‍‍​‌‍‌⁠⁠ඞඞඞඞඞ

And I have this button:

<a type="button" class="btn mt-2 btn-dark" href="http://ez.apilol.xyz" target="_blank"><i class="fab fa-"></i>  E-Z.bio</a>

I can't figure out how to get the icon like the youtube one has. All I know is the thing showing the icon is:

<i class="fab fa-youtube"></i>  YouTube</a>

Please help!

1 Answers
<a href=“yoursite.com“><img scr=“yousource.png“></a>

or

<img scr=“yousource.png“ onclick=“open()“>

<script>
function open(){
 window.open(“yoursite.com“)
}
</script>
Related