set favicon in a website code example Example: how to set favicon <link rel="shortcut icon" type="image/jpg" href="/favicon.jpg"/>