html set favicon.ico code example Example: add favicon to html <link rel="icon" type="image/png" href="/favicon.png"/>