# \[solved\] Add icon to the top bar

**URL:** <https://discourse.julialang.org/t/solved-add-icon-to-the-top-bar/119492>\
**Category:** New to Julia\
**Tags:** genie\
**Created:** [September 17, 2024, 12:04pm UTC](https://discourse.julialang.org/t/solved-add-icon-to-the-top-bar/119492 "2024-09-17T12:04:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReLoneR](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@ReLoneR](https://discourse.julialang.org/u/ReLoneR)\
**Post date:** [September 17, 2024, 12:04pm UTC](https://discourse.julialang.org/t/solved-add-icon-to-the-top-bar/119492/1 "2024-09-17T12:04:48Z")

</div>

Hello, how to add an icon to the top bar of the browser? i have an app.jl, with an interface from ui.jl.html. For some reason if i put link to the icons in head tag in .jl.html - it doesnt work. Is there a way it supposed to work directly from app.jl? or anybody have a working example for .jl.html

i used this snippet in jl.html [Favicon Generator - Text to Favicon - favicon.io](https://favicon.io/favicon-generator/), putting favicon\_io folder into the public folder and changing paths. And various other different examples from the internet, like this [How to add icon logo in title bar using HTML ? - GeeksforGeeks](https://www.geeksforgeeks.org/how-to-add-icon-logo-in-title-bar-using-html/)  
Nothing seems to work for some reason

so basically i have `<link rel="icon" href="/favicon-16x16.png">` and this png is in public folder

i double checked - and this string does work correctly in casual .html file, so whats the difference if it is being used in .jl.html

PS: after waiting for like 10 minutes, idk why but icon finally appeared even though i didn’t change anything, and i restarted local host many times before that

---

<div class="post-metadata">

**Author:** ![ReLoneR](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@ReLoneR](https://discourse.julialang.org/u/ReLoneR)\
**Post date:** [September 25, 2024, 2:11pm UTC](https://discourse.julialang.org/t/solved-add-icon-to-the-top-bar/119492/2 "2024-09-25T14:11:56Z")

</div>

PS2: for some reason icon does show in firefox, but doesnt in chrome
