add icon to 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>
Example 3: html add icon to page
...
<title> Website </title>
<link rel="shortcut icon" type="image/jpg" href="Favicon_Image_Location"/>
...