Agyan
adda
Run
Reset
Copy
HTML Tutorial › HTML Favicon › Add a favicon
Back to tutorial
Code
Edit, then press Run or Ctrl+Enter
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>My Site</title> <link rel="icon" type="image/png" href="/favicon.png"> <link rel="apple-touch-icon" href="/apple-touch-icon.png"> </head> <body> <p>Look at the browser tab for the icon.</p> </body> </html>
Result