<link rel="shortcut icon" href="../img/favicon.ico"/> code example Example: favicon HTML <link rel="icon" href="yourIcon.png" type="image/png">