add icon website html code example
Example 1: how to add an icon to your html website
<link rel="shortcut icon" href="http://sstatic.net/stackoverflow/img/favicon.ico">
Example 2: how to add icons in html
<html>
<head>
<script src="https://kit.fontawesome.com/yourcode.js"></script>
<!--Get your code at fontawesome.com-->
</head>
<body>