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