how to use icon in html
snippet in html

html set icon

user6067

<link rel="icon" href="http://example.com/favicon.png">

how to use icon in html

user487


  <!DOCTYPE html>
<html>
<head>

     <script src="https://kit.fontawesome.com/yourcode.js"></script>

   <!--Get your code at fontawesome.com-->
</head>
<body>

<i class="fas fa-band-aid"></i>
<i 
   class="fas fa-cat"></i>
<i class="fas fa-dragon"></i>
<i class="far fa-clock"></i>

   <i class="fas fa-clock"></i>


  </body>
</html>