icons 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: html icon

<link rel="shortcut icon" href="icon.ico" type="image/x-icon" />

Example 3: html icon

<link rel="shortcut icon" href="path to icon/name of icon.ico" type="image/x-icon" />

Example 4: 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>

Tags:

Go Example